i'm using the javascript sdk to show the FB dialog to post a feed on the user's wall. this gets posted to the wall fine, but when you click the "share" link in the feed on the wall the "share this story" dialog just displays "Platform Story Share"
i get this even when using the example code from the FB api documentation.
anyone got any ideas why this happening? or alternatively, how to remove the "share" link in the feed
attached is a screenshot
eg from FB docs
<script>
FB.init({appId: "YOUR_APP_ID", status: true, cookie: true});
function postToFeed() {
// calling the API ...
var obj = {
method: 'feed',
link: 'https://developers.facebook.com/docs/reference/dialogs/',
picture: 'http://fbrell.com/f8.jpg',
name: 'Facebook Dialogs',
caption: 'Reference Documentation',
description: 'Using Dialogs to interact with users.'
};
function callback(response) {
document.getElementById('msg').innerHTML = "Post ID: " + response['post_id'];
}
FB.ui(obj, callback);
}
</script>
A bug has been filed with Facebook about this behavior:
https://developers.facebook.com/bugs/308745185846464
There isn't a workaround for it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.