Facebook share dialog is giving empty message -
this question has answer here:
- facebook api post link custom picture 2 answers
my facebook app not in sandbox, live.
while sharing dialog , getting empty message :
my href follows :
<a title="send facebook" href="http://www.facebook.com/dialog/feed? app_id=1440979716022445& link=http://ariddleaday.com& picture=http://ariddleaday.com/cat.png& name=can%20you%20help%20jimmy& caption=a%20riddle%20a%20day& description=try%20this%20and%20have%20fun& message=jimmy goes school . friends shirushi , harjot , aafreen asks him ends everything? jimmy calls , whats answer ?& redirect_uri=http://ariddleaday.com" > <span> send riddle facebook </span> </a> i have added function called on click , still getting sameoutput
function posttofeed() { // calling api ... var obj = { method: 'feed', redirect_uri: 'http://ariddleaday.com', link: 'https://ariddleaday.com', picture: 'http://ariddleaday.com/cat.png', name: 'riddle of day', caption: 'can jimmy ?', description: 'jimmy goes school . friends shirushi , harjot , aafreen asks him ends everything? jimmy calls , whats answer ?' }; function callback(response) { document.getelementbyid('msg').innerhtml = "thank sharing !"; } fb.ui(obj, callback); return false; }
check out in debugger: https://developers.facebook.com/tools/debug/sharing/?q=http%3a%2f%2fariddleaday.com
the image missing something:
<meta property="og:image" content=".cat.png" /> all parameters feed dialog deprecated, have use open graph tags in shared url: https://developers.facebook.com/docs/sharing/webmasters/
changelog: https://developers.facebook.com/docs/apps/changelog#v2_9

Comments
Post a Comment