开发者

facebook post from php through graph api

i use this code to authorize me with my app

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

i get the access token and i use this to do the Impersonation trick

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

lastly i use this to post to my page ... not the app page but a page i have created https://graph.facebook.com/mypageid/feed?access_token=1234|asdasdasdasd&message=hello%20world&method=post

the post is successful开发者_如何转开发 but it is shown as i have posted it . i want the profile picture of the group to be shown next to the post is this possible? instead mine is shown next to the post!


What you are looking for is called impersonation in facebook graph api terminology.

Check here

And, also here

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜