drruhc4944 2012-03-13 03:26
浏览 9
已采纳

从页面或应用发布到Facebook用户的墙上

I can get a user to authorize my app and later on I can post on their wall with this code:

new Facebook(...);
$facebook->api('/'.$uid.'/feed', 'post', array('message' => 'My app says hi'));

This works but the post that appears on the user's wall is by the user (it has their face and name next to the post with "via My App" next to it). Is there a way to have the post appear to be by the app (or my page) with my profile photo and name next to it?

I have tried many variations of the above including getting the app access token explicitly as documented but this gives the same result.

Is it possible for an app or page to post on a user's wall as itself rather than pretending to be the user?

  • 写回答

4条回答 默认 最新

  • dpgvdfg321041670 2012-03-13 06:37
    关注

    It's not possible to post on the user's wall as app or page. And even if it's possible, it's not recommended!

    Your best bet if you want to notify your fans about something is to post on your page's wall (as your page) where this post will appear in your fans news feed.

    Also this can be done for your website fans (Likers): https://developers.facebook.com/blog/post/465/

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(3条)

报告相同问题?

悬赏问题

  • ¥30 关于<main>标签页面跳转的问题
  • ¥80 部署运行web自动化项目
  • ¥15 腾讯云如何建立同一个项目中物模型之间的联系
  • ¥30 VMware 云桌面水印如何添加
  • ¥15 用ns3仿真出5G核心网网元
  • ¥15 matlab答疑 关于海上风电的爬坡事件检测
  • ¥88 python部署量化回测异常问题
  • ¥30 酬劳2w元求合作写文章
  • ¥15 在现有系统基础上增加功能
  • ¥15 远程桌面文档内容复制粘贴,格式会变化