facebook-social-plugins

Given URL is not permitted by the application configuration

大憨熊 提交于 2019-11-26 16:01:41
I have used this in my html page... <script> window.fbAsyncInit = function() { // init the FB JS SDK FB.init({ appId : 'xxxxxxxxxxxxxx', // App ID from the App Dashboard status : true, // check the login status upon init? cookie : true, // set sessions cookies to allow your server to access the session? xfbml : true // parse XFBML tags on this page? }); // Additional initialization code such as adding Event Listeners goes here }; // Load the SDK's source Asynchronously // Note that the debug version is being actively developed and might // contain some type checks that are overly strict. //

Responsive width Facebook Page Plugin

≡放荡痞女 提交于 2019-11-26 13:01:04
问题 Facebook introduced a new Page Plugin to replace the Like box plugin. Documentation: https://developers.facebook.com/docs/plugins/page-plugin/ I\'m replacing the Like Box plugin with this new plugin. On some websites I\'ve used this CSS code to make the plugin responsive inside a element: .fb-like-box, .fb-like-box span, .fb-like-box span iframe[style] {width: 100% !important;} Replacing this with this code doet not work: .fb-page, .fb-page span, .fb-page span iframe[style] {width: 100%

Given URL is not permitted by the application configuration

大兔子大兔子 提交于 2019-11-26 04:40:12
问题 I have used this in my html page... <script> window.fbAsyncInit = function() { // init the FB JS SDK FB.init({ appId : \'xxxxxxxxxxxxxx\', // App ID from the App Dashboard status : true, // check the login status upon init? cookie : true, // set sessions cookies to allow your server to access the session? xfbml : true // parse XFBML tags on this page? }); // Additional initialization code such as adding Event Listeners goes here }; // Load the SDK\'s source Asynchronously // Note that the