0

I'm using graph API to get posts from facebook for a specific page, but there are some posts that are targeted to a specific region and those never come in the results.

I'm requesting posts like this:

https://graph.facebook.com/FBPage?fields=id,name,link,picture,posts{message,picture,link,likes,from,feed_targeting,targeting}

That's return all posts global posts but the geo targeted ones not.

Does anyone here know if there is any possibility to filter a specific region to get those posts or even request that facebook don't take in consideration the geo target information?

SOLVED: The problem was really with tokens, to solve we got a user that has access to all pages that we need and generate a token using its credentials, that token make all the magic happens.

Wender..
  • 16
  • 3

1 Answers1

0

You can only try using a User Token, so you should get all those posts the User can see when he visits the Page manually. I assume you are using an App Token right now.

You can also try using a Page Token, in theory you should get all posts that way.

andyrandy
  • 72,880
  • 8
  • 113
  • 130
  • Yes luschn, I'm using an App Token. I'm gonna try to use Page Token, if that works I will gonna have to change my solution a lot, but lets see. Thanks luschn. – Wender.. Jan 29 '15 at 16:28
  • 1
    an extended page token is valid forever btw.: https://developers.facebook.com/docs/facebook-login/access-tokens – andyrandy Jan 29 '15 at 16:42
  • 1
    here´s a blogpost i wrote some time ago: http://www.devils-heaven.com/facebook-access-tokens/ – andyrandy Jan 29 '15 at 16:42