Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook application data storage

I created a Facebook app(game) in JavaScript. I used Facebook's php-sdk. I dint make a good use of the sdk except to display the name of the user logged, and his details.

I want to store the score of each user at some place. Checked FQL. As far as I saw, it doesnt allow you to store data, there was only SELECT query available. So is there any way in which we can append the score to user information or something similar.

In short can we store the data on Facebook

OR

We should use our own database server only to store the data.

like image 616
Boopathi Rajaa Avatar asked Jun 20 '11 20:06

Boopathi Rajaa


People also ask

What data storage does Facebook use?

How big is this data generated by Facebook? Facebook generates 4 petabytes of data per day — that's a million gigabytes. All that data is stored in what is known as the Hive, which contains about 300 petabytes of data.

What happens if you delete Facebook app data?

While uninstalling the apps doesn't do any damage, clearing app data on Android will delete the downloaded media files for the respective app and log you out from the apps. Logging out from the app is equivalent to uninstalling it.

Why does Facebook app take so much storage?

The Facebook app can take up a ton of storage on your phone. Even browsing the timeline adds temporary and cached files to your device which consumes valuable space. Clearing up these files is simple: Delete and re-install the app.

How can I reduce my FB app data usage?

Open the Facebook app and tap the Menu icon (the three horizontal lines on the top right). On the menu page, tap Settings & Privacy and then in the resulting drop-down menu, tap Data Saver. Make sure the Data Saver slider is in the ON position. You can also choose to Always turn off Data Saver on Wi-Fi.


2 Answers

In general you need to store your own data. While it might be possible to fake it by using some attribute of a user, it's certainly not the way it's designed to work and you can't count on the data always being available. You are better off setting up your own database and use the users' FB IDs to tie the info together.

like image 178
ldg Avatar answered Oct 06 '22 08:10

ldg


Facebook now supports posting scores via scores api found here.

You can also publish achievements relevant to the game as in here

These have enough guidance to help you out !

like image 45
zapumal Avatar answered Oct 06 '22 08:10

zapumal