正在阅读您朋友的状态
我可以使用图形 API 从朋友墙上读取状态吗?还是需要 FQL?
如果是这样,我该怎么办?
Can I read status from my friends wall , using graph API or do I need FQL?
If so, how can I do it ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,您可以使用 Graph API,使用以下 URL:
https://graph.facebook。 com/USER_ID/feed?access_token=XXX
请记住将 USER_ID 替换为您要读取其 Feed 的用户的 ID,并传递您的访问令牌。文档位于以下网址: https://developers.facebook.com/docs/reference/api /
编辑
根据我的经验,获取访问令牌可能是一个非常棘手的过程。您使用哪种语言?您可能想研究一下可以简化此过程的库
Yes you can use the Graph API, use the following URL:
https://graph.facebook.com/USER_ID/feed?access_token=XXX
Remember to replace USER_ID with the id of the user who's feed you want to read, and pass your access token. The docs are at this url: https://developers.facebook.com/docs/reference/api/
EDIT
Getting an access token can be quite tricky process in my experience. Which language are you using? You might wanner look into libraries which ease this process
如果您下载 facebookpsmodule.codeplex.com,则可以通过 PowerShell 命令行执行此操作,只需输入“Get-FBFeed -Id ”即可。 Facebook PowerShell 模块将帮助您获取和管理您的访问令牌。
If you download facebookpsmodule.codeplex.com, you can do this from the PowerShell commandline as simply "Get-FBFeed -Id ". Facebook PowerShell Module will help you get and manage your Access Token.