Last post Apr 25, 2012 06:58 AM by Vipindas
Apr 25, 2012 06:07 AM|.s.e|LINK
I'm trying to figure out how to post an image to a users wall with Facebook graph API and ASP.NET.
I have tried something like this code : http://osnapz.wordpress.com/2010/04/23/using-asp-net-with-facebooks-graph-api-and-oauth-2-0-authentication/
I've tried this to se if it is working with a simple message:
string url = "https://graph.facebook.com/me/feed?access_token=" + oAuth.Token;
string json = oAuth.WebRequest(oAuthFacebook.Method.POST, url, "message=" +HttpUtility.UrlEncode("Test"));
It posted a message to my wall. One time. And then I get these warnings from the Facebook debugger:
Could not follow redirect : URL requested a HTTP redirect, but it could not be followed.
Missing Required Property: The 'og:url' property is required, but not present.
Missing Required Property: The 'og:type' property is required, but not present.
Missing Required Property: The 'og:title' property is required, but not present.
How can I set the properties?
Apr 25, 2012 06:58 AM|Vipindas|LINK
Posting to Facebook Wall using Graph API
You can download source code from here