What is FQL● SQL like facebook API● Many tables● Limitations ● 30 objects per query ● 600 queries per user per 10 minutes ● 600 * 30 = 18000 objects per 10 minutes● 1 million monthly users● SELECT thread_id, message_count,recipients FROM thread WHERE folder_id=0
How it works● User clicks on Login with facebook button ● Social-auth handles user creation● Signal handler creates a new celery task ● Worker downloads all the messages● User receives email when the data is ready
How to use it?
Recommendations● Use NoSQL Dbs ● Make data structures for every view!● Do not use initial fixtures with django social auth
Thank you● Feel free to contact me at ● firstname.lastname@example.org ● @visgean ● Github.com/visgean ● Source code: https://gist.github.com/fc851a2081de36a5f4fa