有 read_stream 教程 javascript sdk 教程吗?
我想使用 JavaScript SDK 获取用户的 Facebook 流。我可以找到许多关于 publish_stream
的教程。我在 read_stream
上找不到任何分步指南。我用 Google 搜索了 JavaScript SDK、PyFacebook 和 PHP SDK。没有人写过关于该主题的完整教程。我所能找到的只是一些关于如何请求扩展权限的提示。
我尝试使用 PHP SDK 自己完成此操作。我尝试了几个小时但没有成功。有谁知道一个简单的例子,可以导出用户的朋友流并将其显示在他的个人资料上?除了 read_stream
之外,您还需要其他工具来导出您网站上的 Facebook 好友流吗?通过查看 Facebook 图形浏览器,我可以看到 friends_status
、friends_activities
、friends_likes
以及通常显示在用户墙上的其他内容。 read_stream
是否足以导出所有内容? (我很困惑!)
我使用 PHP SDK 没有问题。我只是认为用 javaScript 来完成会更简单。
I want to get the Facebook stream of a user using the JavaScript SDK. I can find many tutorials for publish_stream
. I cannot find any step by step guide on the read_stream
. I Googled JavaScript SDK, PyFacebook and PHP SDK. No one has written a complete tutorial on that subject. All I can find are some tips here and there about how to ask for extended permissions.
I tried to do it on my own using the PHP SDK. I tried for hours but it didn't work. Does anyone know of a simple example that would export the friends stream of a user and display it on his profile? Do you need anything other than read_stream
to export the stream of facebook friends on your site? By looking at the Facebook graph explorer I can see friends_status
, friends_activities
, friends_likes
and other stuff that is normally displayed on the user's wall. Is read_stream
enough to export all of them? (I'm so confused!)
I have no problem using the PHP SDK. I just though that it would be simpler done in javaScript.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要的所有信息都在此处...facebook 文档...向下滚动到
api_calls
(在您阅读了如何实现 SDK 之后)...这不是一个愚蠢的问题,但官方文档是一个很好的起点,而不是跳入谷歌搜索...祝你好运all the information you need is here... the facebook documentation... Scroll down to
api_calls
(after you have read how to implement the SDK)... Its not a silly question, but the official documentation is a great place to start instead of leaping into google searches... good luck