I've seen many places talk about how to get page insights from within a facebook application. I am trying to show user's page's insights on my websites with my graph开发者_StackOverflowing tools without an application.
I can have them provide login information, or if I need to connect my website with them, etc. etc., I can do that. Does anyone know how I would go about getting this information?
Look at the read_insights permission. https://developers.facebook.com/docs/reference/api/permissions/
Your flow would be to ask the user to connect to your app and ask for the read_insights permission. Once you have the access token, you can query the data of their domains/pages/apps.
You should ask for the offline_access permission too, that will allow you to update the insights without having to wait for the user to log-in.
精彩评论