开发者

Facebook - Page Insights via API on external website?

开发者 https://www.devze.com 2023-03-23 08:36 出处:网络
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 wi

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消