无用户查询 FQL
我正在尝试获取多个 Facebook 地点的最近签到次数。我想设置一个 CRON 脚本,使用以下内容查询最近的签入:
SELECT tagged_uids FROM checkin WHERE timestamp > 1318514998 AND page_id IN (138444418096,138444418097)
但由于这是一个(fb 无用户)cron 脚本,我怎样才能获得 access_token?我曾尝试为 Facebook 应用程序获取一个,但没有成功。
I'm trying to get the number of recent checkins for multiple facebook places. I'd like to setup a CRON script that queries for recent checkins using something like:
SELECT tagged_uids FROM checkin WHERE timestamp > 1318514998 AND page_id IN (138444418096,138444418097)
But since this is a (fb userless) cron script, how can I get an access_token? I've tried getting one for a facebook app, but that didn't work.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要获取
offline_access
令牌并确保您的脚本与生成此令牌的 FB 应用程序位于同一域中。 但是 我认为如果您不拥有该页面,您就无法检索这些信息。You need to get an
offline_access
token and make sure that your script is on the same domain as your FB app that generated this token. BUT I don't think you can retrieve these info if you don't own the page.