Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Storing Facebook API data

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?

like image 490
Eric Di Bari Avatar asked Mar 01 '12 15:03

Eric Di Bari


People also ask

Can I use Facebook API for free?

In the newest version of the Graph API (v2. 9), we're announcing features that simplify development, making it even easier to build apps and experiences with Facebook. We're providing free access to over 140 million places around the world, the same data that powers Facebook, Instagram, and Messenger.

Is Facebook API a REST API?

Yes, it is a REST API as well. Show activity on this post. Yes, there have been 3 Facebook API's to date: Legacy REST.


1 Answers

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.

like image 117
MMM Avatar answered Nov 11 '22 18:11

MMM