這個問題已被問到,但接受的答案是沒有用的,因爲這張海報似乎已經弄明白了他們自己,並省略了他們如何獲得訪問令牌。發佈到facebook上的用戶牆上CodeIgniter
Posting on Facebook wall from Codeigniter app
不管怎樣,看來我可以重定向到登錄URL並登錄,但沒有找到身份驗證令牌。引發此錯誤:
Fatal error: Uncaught OAuthException: An active access token must be used to query information about the current user. thrown in /home/howekevin/biologicalfinder.com/dev/application/libraries/base_facebook.php on line 1040
另外,如果你使用的SDK和var_dump $user
的例子中,我越來越int 0
我在登錄後,我依然看到它使用了大量的$GET
陣列東西,笨不會因此而動搖。有沒有人解決過這個問題?
好吧,我會給它一個鏡頭 – Rooster 2011-12-26 16:02:15
更新:我現在能夠讀取帳戶數據,但我不能寫。 – Rooster 2011-12-26 17:39:38
查看本頁的「發佈」部分:http://developers.facebook.com/docs/reference/api/ – 2011-12-26 19:10:36