restfb - Posting desired message on facebook using api -


I am trying to post a message on facebook wall via apis. The problem looks different when I post through the API then when I directly paste a link in the form of facebook status. I'm not sure I'm doing something wrong. Please advise.

I want to post as an example

The code I am using is something like this:

  FacebookType publishMessageResponse = FacebookClient ("Picture", "http: //commondatastorage.googleapis", ". /", "I / Feed", FacebookType.class, with parameter. ("Name", "Register to be a blood donor here ("Link", "http://links.sakshum.org/RegisterBloodDonor"), with parameters ("description", "parameter", parameter com / blood / 2415012_26-May-2012 "), parameter. "The organization working in the field of child education and the creation of an effective blood donation pool is not for a profitable benefit.");    

Because when you direct the Paes Meta OG tries to guess the tag.

See debugger for more information

Infrared property: 'Ogg: URL' property is clearly visible Even though value can be estimated from any other tag.

Estimated property: 'Og: Title' property should be provided explicitly, even if the price from any other tag Can be estimated.

Infra Grade Property: "og: description" property must be clearly stated, even though the value can be estimated from the other tags. ... etc

url & lt; Head & gt; Set your meta tag in the section, and you do not have to set it

and your & lt; Head & gt;

  & lt; Meta Property = "Ogg: url" content = "http: // commondatastorage.agapapapx.com/blood/2415012_26-May-2012"> & Lt; Meta property = "OG: title" content = "click here to register as a blood donor" & gt; & Lt; Meta Property = "OG: Details" content = "The profits working in the field of Sukusham child education are not for the organization and constitute an effective blood donor pool." Gt; & Lt; Meta Property = "OG: Image" content = "http://YOURURL.COM/LINKTOIMG.jpg" & gt; For more information on  Feeds  View      



Comments