存储Facebook API数据 [英] Storing Facebook API data

查看:126
本文介绍了存储Facebook API数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建一个依赖于Facebook API的Web应用程序。我想使用关于用户的朋友检索的信息,以便向该用户显示自定义消息和更新。标准票价



我不确定我可以存储这些信息多长时间,特别是使用数据库



Facebook平台政策在第二节第4号,


用户的朋友的数据只能在您的应用程序的用户
体验的上下文中使用。 / p>

很好。对于存储,第二部分号2指出,


您可以缓存通过使用Facebook收到的数据API,以提高应用程序的用户体验,但您应尽量保持数据更新。此权限不会赋予您对此类数据的任何权利。


缓存是否包含数据库存储?如果是这样,对数据没有正确只禁止我可以使用这些数据的方式,而不是我可以存储的时间长度?

解决方案

您可以将数据存储在数据库中。正如您的第二个引文所述,您无权获取此数据,因此您无法出售或重新分发该数据。然而,您可以重新混合此数据,以改善您的应用程序的用户体验。



当用户授权您的应用程序(即通过Facebook连接到您的应用程序)时,他允许您的应用程序访问他的帐户。最基本的访问权限为您(开发人员)提供了权限中指定的用户的朋友列表。因此,用户本质上授予您使用该数据的权限。此外,如果您要求其他基于朋友的权限(例如 friends_activities friends_checkins 在同一文档中解释)用户明确授予您使用该数据的权限。但是很明显,你不能与第三方分享这些信息。



我参与了许多项目,我们必须存储有关用户朋友的信息,它总是



此外,这种存储没有时间限制。


I'm building a web application that relies upon the Facebook API. I want to use information retrieved about the users' friends, in order to display custom messages and updates to that user. Standard Fare.

I'm uncertain as to how long and in what manners I can store that information, specifically related to using a database.

Facebook Platform Policies says under section II number 4 that

A user's friends' data can only be used in the context of the user's experience on your application.

Fine. As for storing, section II number 2 states that

You may cache data you receive through use of the Facebook API in order to improve your application’s user experience, but you should try to keep the data up to date. This permission does not give you any rights to such data.

Does cache include database storage? If so, does not having a 'right' to the data prohibit only the ways in which I can use that data, versus the length of time which I can store it?

解决方案

You can definitely store such data in your database. As stated in your second quote "you have no rights to this data", so you cannot sell or redistribute that data. You can however remix this data to improve "your application's user experience".

When the user authorises your app (i.e. connects with your app via Facebook) he allows your app to access his account. The most basic access provides you (the developer) with the user's list of friends as specified in Permissions. So essentially the user grants you permission to use that data. Additionally if you request some other friends-based permissions (e.g. friends_activities, friends_checkins explained in the same document) the user explicitly grants you permission to use that data. But obviously you can't share that information with 3rd parties.

I've been involved in many projects where we had to store information regarding a user's friends and it was always legally sound.

Also, there is no time limit on such storage.

这篇关于存储Facebook API数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆