Facebook API Data Storage

I am building a web application based on the Facebook API. I want to use the information received about friends of users to display user messages and updates for this user. Standard rate.

I am not sure how long and in what manner I can store this information, especially related to the use of the database .

The rules of the Facebook platform are stated in Section II No. 4, which

User friends data can only be used in the context of user experience in your application.

Fine With regard to storage, section II No. 2 states that

You can cache data obtained using the Facebook API to improve user experience with applications, but you should try to update the data. This permission does not give you any rights to such data.

Does the cache include database storage? If this is the case, does the โ€œrightโ€ to data have a prohibition only on the ways in which I can use this data, compared to the time that I can save?

+6
source share
2 answers

You can store such data in your database. As stated in your second quote, โ€œYou do not have rights to this data,โ€ you cannot sell or disseminate this data. However, you can recreate this data to improve your applicationโ€™s user interface.

When a user permits your application (i.e. connects to your application via Facebook), he allows your application to access his account. The easiest access provides you (the developer) with the list of friends users specified in Permissions . Thus, the user grants you permission to use this data. In addition, if you request some other friends-based permissions (e.g. friends_activities , friends_checkins described in the same document), the user explicitly grants you permission to use this data. But obviously you cannot share this information with third parties.

I participated in many projects where we had to store information about friends of users, and this was always legal.

In addition, there is no time limit for such storage.

+8
source

Not sure if the 24-hour data retention policy was outdated, but Facebook data can now be stored indefinitely ...

How long can I store data?

We have outdated our 24/7 data retention policy. Now you can endlessly cache data to improve the performance of your application. See Section II of the Developer's Guidelines and Policies for more details on our storage policies. You can learn more about real-time updates here.

+2
source

Source: https://habr.com/ru/post/909754/


All Articles