I'm using ASP.NET / c# to get the news feed of a facebook user. But since today my request for the user's news feed is returning an 500 error. (Internal server error)开发者_如何学JAVA
Here is what i'm trying to do: s
tring jsonUrl = graphUrl + "/" + id + "/home?access_token=" + token;
var json = new WebClient().DownloadString(jsonUrl);
When i copy paste the jsonurl in my browser i get the following result:
"error": {
"type": "IDInvalidException",
"message": "Invalid id: 0"
}
If i change "home" to "feed" or "friends", then i do get the result i want. Is there something wrong here?
I hope someone can help me here.
Add "read_stream" to the list of your permissions.
This was working before without adding that flag to your permissions session but now seems they require to specify that.
I was having the same issue in a iOS Application but now is working again
精彩评论