Facebook 工作历史记录不可用
我对 FB 开发相对较新,但我已经成功地做到了我想要的,那就是获取朋友列表,并从他们每个人那里获取他们的工作历史。我通过使用 Facebook 自己的 C# SDK 并在我的每个朋友上使用 Get 方法来完成此操作,基本上是:_fa.Get("/")。
这一直工作得很好,直到几天前它突然停止工作,现在我在从 Get 方法返回的 JSONObject 中不再有可用的工作历史记录(以及与此相关的教育)。另一件值得注意的事情是,我的一些朋友安装了我正在开发的应用程序(作为测试手段),确实返回了他们的工作历史记录,但其他朋友(尚未安装该应用程序)确实有工作打开的历史记录(如果我用浏览器浏览查看他们的个人资料,我可以看到)不要在我的 Get 调用中返回它...
明显的解释是 FB 更改了某些内容,现在应用程序无法再访问此信息除非安装在特定的用户配置文件上(因此出现奇怪的行为)。
还有其他人遇到过同样的事情吗?我做错了什么吗?
任何帮助将不胜感激!
非常感谢,
I am relatively new to FB development, but I have managed to do what I wanted, which was to get a list of friends, and from each of them, get their work history. I accomplished this by using Facebook's own C# SDK, and using the Get method on each of my friends, basically doing: _fa.Get("/").
This worked perfectly up until a couple of days ago, where it suddenly stopped working, and now I no longer have the work history (and education for that matter) available to me in the JSONObject which is returned from the Get method. One other thing of note is that a couple of my friends who installed the app I am developing (as a means of testing), do return their work history, but other friends (who have not installed the app), and do have a work history open (which I can see if I look at their profile by browsing into it with my browser) do not return it in my Get call...
The obvious explanation is that FB changed something, and now applications can no longer access this information unless installed on a specific user profile (hence the odd behavior).
Has anyone else encountered the same thing? Am I doing something wrong?
Any help would be appreciated!
Many thanks,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
正如您所说,答案似乎很明显,可能是已经推出的默认隐私设置发生了一些变化。请注意,Facebook 本周推出了一些新功能,其中最引人注目的是“地点”功能。默认情况下,很可能不再共享工作历史记录。您可能只能访问,因为工作历史无论如何都是公开可见的。
更新
在我看来,检查更改的最佳位置是开发者博客 和开发者路线图。
As you said, the answer appears obvious and is probably some change in default privacy settings that have been rolled out. Note that Facebook has introduced a couple of new features this week, most notably the "places" stuff. Most likely work history is not shared anymore by default. You probably only had access because the work history was publicly visible anyway.
Update
Seems to me, the best places to check for changes is the developer blog and the developer roadmap.