Blank page in FB.ui feed dialog box on Chrome mobile

I can’t get the feed dialog box to work properly and cannot find a suitable solution for Google.

Here is my code:

FB.ui({
	method: 'feed',
	name: 'The title',
	link: 'http://link.com',
	picture: 'http://link.com/image.jpg',
	caption: 'The caption',
	description: 'The description',
	redirect_uri: 'http://theapp.com/close-popup.html',
},
function(response) {
	if (response && response.post_id) 
		console.log("Share has been made!");
});
Run codeHide result

Problem: After the sharing dialog, the page stops on a white blank page at the URL https://m.facebook.com/v2.2/dialog/feed . I tried adding redirect_uri to redirect to some kind of closed page, but this will not work.

Any ideas here?

DECISION

FB.ui({
	method: 'feed',
    display: 'touch' //Works with Chrome iOS/Android, page/popup for desktop
	name: 'The title',
	link: 'http://link.com',
	picture: 'http://link.com/image.jpg',
	caption: 'The caption',
	description: 'The description',
	redirect_uri: 'http://theapp.com/close-popup.html',
},
function(response) {
	if (response && response.post_id) 
		console.log("Share has been made!");
});
Run codeHide result
+4
source share
1 answer

. ui : "" , Chrome iOS Android , , : "touch" Safari, Chrome . , : "touch" , .

+1

All Articles