正在阅读您朋友的状态

发布于 2024-12-05 04:59:06 字数 60 浏览 1 评论 0原文

我可以使用图形 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

阳光下的泡沫是彩色的 2024-12-12 04:59:06

是的,您可以使用 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

输什么也不输骨气 2024-12-12 04:59:06

如果您下载 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文