【问题标题】:facebook post from php through graph api通过图形 api 从 php 发布 Facebook 帖子
【发布时间】:2011-05-22 11:42:03
【问题描述】:

我使用此代码授权我使用我的应用程序

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

帖子是成功的,但它显示为我已发布它。我希望在帖子旁边显示组的个人资料图片这可能吗?相反,我的显示在帖子旁边!

【问题讨论】:

    标签: php facebook


    【解决方案1】:

    您要查找的内容在 facebook graph api 术语中称为 impersonation

    查看here

    还有here

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-07-27
      • 2012-02-18
      • 2014-08-10
      • 2013-04-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多