有哪些可用的不同 FB UI 方法以及何时应使用它们?
我过去一直在使用“stream.publish”,放弃了他们网站上的最新示例,我尝试使用“feed”,但得到了一些奇怪的结果(除非应用程序从选项卡运行,否则图像不会拉出)。
http://developers.facebook.com/docs/reference/javascript/FB。 ui/
我想知道有什么区别,是否还有其他方法以及何时应该使用它们?
I have been using 'stream.publish' in the past, going off the most recent examples on their site I have tried using 'feed' but was getting some strange results (images not pulling through unless the application was running from a tab).
http://developers.facebook.com/docs/reference/javascript/FB.ui/
I was wondering what the differences are, if there are any other methods and when I should use them?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如您所知,stream.publish 用于发布到当前用户墙。您可以使用“feed”向朋友的留言墙上发帖,使用“apprequests”发送通知(Requests 2.0)。
https://developers.facebook.com/docs/reference/dialogs/requests/
我三个都用。虽然过去出现过图像问题,但最近没有出现过问题。我相信这只是 Facebook 方面的缓存问题。确保您的服务器对加载图像没有限制,例如检查引用以确保它们位于您的网站上。
stream.publish is used for posting to the current users wall, as you know. You can use "feed" to post to a friend's wall, and "apprequests" to send a notification (Requests 2.0).
https://developers.facebook.com/docs/reference/dialogs/requests/
I use all three. While I've had issues with images appearing in the past, I haven't had recent issues. I believe it was just caching issues Facebooks side. Make sure you don't have restrictions on your server for loading images, like checking the referer to make sure they are on your site.