开发者

How can I submit an fql query using Facebook graph api with only a Facebook appId but without a user signing in?

开发者 https://www.devze.com 2023-03-10 11:21 出处:网络
I\'m trying to use the new graph api for using FQL (the old api used https://api.facebook.com/method/fql.query?query=select%20like_count,%20comment_count,%20share_count,%20click_count%20from%20link_st

I'm trying to use the new graph api for using FQL (the old api used https://api.facebook.com/method/fql.query?query=select%20like_count,%20comment_count,%20share_count,%20click_count%20from%20link_stat%20where%20url=%22facebook.com开发者_C百科%22), but it looks like I need an access token to use the new api ( http://developers.facebook.com/docs/reference/rest/links.getStats/).

Is there a way to get statistics on a link without having a user logging in (a functionality like the old api)? Can this be done using only a Facebook appId?

Thanks.


Just call this url and parse the json response (obviously replacing the google.com with your page):

http://graph.facebook.com/?id=http://google.com

This url doesn't not require any kind of access token.

0

精彩评论

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

关注公众号