Fb API
Facebookの投稿フィードに使用しています。
私のコードは -
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' });
このコードは機能しますが、画像に問題があります。投稿には反映されません。
どうすればこの問題を解決できますか? または、私のコードに問題があるかどうか教えてください。
ありがとうございました..!!!