-1

Not that long ago this link worked: http://graph.facebook.com/https://www.facebook.com/my_fanpage_name and I was able to get basic information about the page, likes and shares. Now I see error: "An access token is required". Has facebook changed something recently? Is there other way I can get the number of likes of the facebook page without access token?

andyrandy
  • 72,880
  • 8
  • 113
  • 130
abiku
  • 2,236
  • 3
  • 25
  • 30

1 Answers1

1

Yes, you need to use an Access Token for that call now, and you need to specify the fields you want to get:

http://graph.facebook.com/my_fanpage_name?fields=name,likes&access_token=xxx

You can use an App Access Token, which is just App ID and App Secret with a pipe in the middle:

App-ID|App-Secret

Changelog: https://developers.facebook.com/docs/apps/changelog

More information about Access Tokens:

andyrandy
  • 72,880
  • 8
  • 113
  • 130