we are using Fb API
for post feed on facebook.
my code is -
if (response.authResponse) { var data = { name: "link to apply", picture: 'http://www.hrgp.biz/Uploads/CompanyForTesting_499/NotesReminders/2608chemtec-logo.jpg', link: "http://www.hrgp.biz/bc0efdb3-f1a7-4d81-9635-d1418e808b6d.aspx", // Go here if user click the picture description: "thank you" } FB.api('me/feed', 'post', data, function (response) { if (!response || response.error) { alert(JSON.stringify(response.error)); } else { //alert('Post ID: ' + response.id); alert('feed posted successfully.'); } }); } }, { scope: 'email,user_likes,publish_actions,publish_stream,read_stream,photo_upload' });
This code Works but I’m having issues with the picture. It doesn’t show up in the post.
how can i resolve this issue? or please tell me if any problem into my code.
thank you..!!!