2011-05-22 115 views
0

我使用此代碼授權我與我的應用程序Facebook發佈通過圖形API

https://graph.facebook.com/oauth/authorize?client_id=myappid&scope=publish_stream,offline_access,manage_pages&method=post&redirect_uri=http://www.site.com/indexold.html

我得到的訪問令牌,我用這個做模擬伎倆

https://graph.facebook.com/oauth/access_token?client_id=myappid&client_secret=myappsecret&redirect_uri=http://www.poemsofloveapp.com/indexold.html

最後我用它貼到我的頁面...不是應用頁面,而是我創建的一個頁面 https://graph.facebook.com/mypageid/feed?access_token=1234|asdasdasdasd&message=hello%20world&method=post

該帖子成功,但顯示爲我發佈了它。我希望在帖子旁邊顯示該組的個人資料圖片,這可能嗎?相反,我的顯示旁邊的帖子!

回答

0

您正在查找的是在facebook圖形API術語中稱爲impersonation

檢查here

而且,還here

+0

非常感謝你這麼多小時我得到它後:) – stefanosn 2011-05-22 12:44:10

相關問題