facebook insigts api code example

Example: facebook integration api

DB Structure for fb : 
========================

Table Structure : 
---------------------------

fb_user :  id, user_id, fb_user_id, access_token, data_access_expiration, expires_In, signed_Request, date_preset, created_at, updated_at
---------
fb_user_pages :  id, fb_user_id, page_id, page_name, access_token, category, tasks, created_at, updated_at
---------------
fb_page_insights :  id, fb_page_id, created_date, page_post_engagements, page_views_total, page_fan_adds_unique, page_impressions, created_at, updated_at
------------------
fb_page_posts :  id, fb_page_id, post_id, message, created_date, likes, comments, shares, post_reach, post_engagement, created_at, updated_at
---------------

Tags:

Misc Example