I use "get_connections" method to fetch posts from a news feed. Generally it works fine, but with some IDs and names it works quite strange. Here is my piece of code:
mess = graph.get_connections(channel.to_s, "feed") #channel can be name of ID of the page
And then i display messages from the "mess" variable.
For example, when i use "google" or "chanel" as a channel name, the posts from theirs feeds are displayed normally.
But when i use "walmart" the posts from walmart's feed (which is located here: http://www.facebook.com/walmart/feed) are not displayed - only some random posts and status updates by other people. I also tried the ID of the Walmart page (got it from this link: http://graph.facebook.com/walmart), but all the same. The same thing happens when using "tesco" as a channel name.
I have to mention that i need only the posts, that are published BY the Walmart (not the comments on their wall by other people).
Does anyone know why is this happening? Maybe Walmart has some strict privacy settings on their feed?
Hello.
I use "get_connections" method to fetch posts from a news feed. Generally it works fine, but with some IDs and names it works quite strange. Here is my piece of code:
oauth = Koala::Facebook::OAuth.new(CONFIG[:koala_token], CONFIG[:koala_secret])
token = oauth.get_app_access_token
graph = Koala::Facebook::API.new(token)
mess = graph.get_connections(channel.to_s, "feed") #channel can be name of ID of the page
And then i display messages from the "mess" variable. For example, when i use "google" or "chanel" as a channel name, the posts from theirs feeds are displayed normally.
But when i use "walmart" the posts from walmart's feed (which is located here: http://www.facebook.com/walmart/feed) are not displayed - only some random posts and status updates by other people. I also tried the ID of the Walmart page (got it from this link: http://graph.facebook.com/walmart), but all the same. The same thing happens when using "tesco" as a channel name.
I have to mention that i need only the posts, that are published BY the Walmart (not the comments on their wall by other people).
Does anyone know why is this happening? Maybe Walmart has some strict privacy settings on their feed?