Looking for the Type details for page_stories_by_story_type & page_consumptions_by_consumption_type

At time of writing, the full list of available story types is: page post tag mention checkin user post deal fan comment purchase paid link question coupon other The full list of available consumption types is: link clicks other clicks photo view video play other For each, the mapping should be perfectly clear. Any remaining … Read more

Facebook pages API: “Page Public Content Access” review screencast

If my code access the Pages API and shows the result on my website, is it “used by [a] reduced number of people”? You are most likely the only consumer of the API in your application. Since it’s an AJAX call in the background and not a login based application, the “reduced number” situation should … Read more

Facebook Page Access Tokens – Do these expire?

Page Tokens expire when the access token expires for the user that the page token was generated from. Edit 6.28.2013: If you extend the user access token and obtain a new page access token for the user, that page token will not expire unless the user de-authorizes your app. Offline access has now been deprecated, … Read more

Facebook API: Get fans of / people who like a page

There is a “way” to get some part of fan list with their profile ids of some fanpage without token. Get id of a fanpage with public graph data: http://graph.facebook.com/cocacola – Coca-Cola has 40796308305. UPDATE 2016.04.30: Facebook now requires access token to get page_id through graph so you can parse fanpage HTML syntax to get … Read more

Facebook: get list of pages that a user is admin of

Its simple with Graph API. Steps: Get the manage_pages permission from the user (extended permissions). Call the Graph API – https://graph.facebook.com/me/accounts You can test this procedure in the graph explorer -> Just click on ‘Get Access Token’ button-> under ‘Extended permission’ check ‘manage_pages’ & submit it. It will give you the admin-page-details JSON.

Facebook Access Token for Pages

Go to the Graph API Explorer Choose your app from the dropdown menu Click “Get Access Token” Choose the manage_pages permission (you may need the user_events permission too, not sure) Now access the me/accounts connection and copy your page’s access_token Click on your page’s id Add the page’s access_token to the GET fields Call the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)