Facebook FQL 或图形 API 事件
我正在尝试开发一个应用程序,它将获取所有 Facebook 事件并将其显示在 iPhone 应用程序上。
我的问题是用 PHP 检索所有公共 facebook 事件的最佳方法是什么。我知道有 FQL 和开放图 api,但使用 FQL 我无法检索所有公共事件,而且我似乎找不到方法来执行此操作。
有人可以帮我解决这个问题吗?
亲切的问候 !
I'm trying to develop an application wich will get all the facebook events and show it on a iphone application.
My question is what is the best way to retrieve all the public facebook events in PHP. I know there is the FQL and the open graph api but with FQL I cannot retrieve just all the public events and I can't seem to find a way to do this.
Can somebody help me with this ?
Kind regards !
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
FQL 和 Graph Api 都运行良好。两者都是不错的选择。
FQL:
朋友们。
不出席,直接“无回复”,无需统计
与 20,000 人打交道时节省大量时间
音乐会等 [如果你想计算性别比例,
不幸的是,这个功能不会对您有太大帮助]
(从 event_member WHERE uid=me() 中选择 eid)
图表:
- 您曾经检查“隐私”以了解活动的隐私。它现在已经贬值了,我相信现在没关系,因为只有您有权访问的事件才会显示。
提示:如果您的程序应显示某个特定区域的事件,则可以使用应用程序的身份验证,而不是让用户登录并批准您的应用程序(除非您对每个用户进行了特殊自定义)。
Both FQL and the Graph Api work well. Both are great options.
FQL:
friends.
not attendings, and "no replies" directly, without having to count
yourself, which saves LOTS of time when dealing with 20,000 people
concerts etc. [ IF you want to calculate the gender ratios,
unfortunately then this feature wont help you much ]
(SELECT eid FROM event_member WHERE uid=me())
The Graph:
- You used to check "privacy" for the privacy of an event. It is now depreciated and I believe it doesn't matter now, because only the events you have access to will show up.
TIP: IF your program should show events for one specific region, can use an app's authentication rather than nag a user to log in and approve your app ( unless you have special customizations for each user).