javascript - feed button for facebook not working -



javascript - feed button for facebook not working -

$i got next in js consol

error error occurred sharebutton. please seek later

api error code: 191 api error description: specified url not owned application error message: redirect_uri not owned application.

while putting configuration follow

app display name:

app namespace:

contact email:

app domain: www.somthing.com

------------------------------------js

<script> window.fbasyncinit= function() { fb.init({ appid : '204143816348127', // app id status : true, // check login status cookie : true, // enable cookies allow server access session xfbml : true // parse xfbml }); // additional initialization code here }; // load sdk asynchronously (function(d){ var js, id = 'facebook-jssdk'; if (d.getelementbyid(id)) {return;} js = d.createelement('script'); js.id = id; js.async = true; js.src = "//connect.facebook.net/en_us/all.js"; d.getelementsbytagname('head')[0].appendchild(js); }(document)); function kuky(){ fb.ui( { method: 'feed', message: 'getting educated facebook connect', name: 'connect', caption: 'the facebook connect javascript sdk', description: ( 'a little javascript library allows harness ' + 'the powerfulness of facebook, bringing user\'s identity, ' + 'social graph , distribution powerfulness site.' ), link: 'http://www.fbrell.com/', picture: 'http://www.fbrell.com/f8.jpg', actions: [ { name: 'fbrell', link: 'http://www.fbrell.com/' } ], user_message_prompt: 'share thoughts rell' }, function(response) { if (response && response.post_id) { alert('post published.'); } else { alert('post not published.'); } } ); } </script>

191 because code not beingness run domain have in app settings. also, sure include channelurl in fb.init() improve performance.

javascript facebook-javascript-sdk

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -