facebook-fbml

Facebook Connect Bug? (Post-Authorise URL Being Put in Window Instead of OnLogin Callback)

余生颓废 提交于 2019-12-13 19:22:34
问题 I have a ASP.NET web site which uses Facebook Connect for authentication - using the JavaScript API and the Facebook Connect FBML Button. Here is the regular flow of events for a "Connect with Facebook" button click, when user isnt logged into Facebook. Dialog is shown requesting user to login Dialog requests permission from the user for basic info permission The popup is closed The callback function i supplied for "onlogin" is fired. All good. Now - here's what i think is a bug: the user is

Facebook SDK: Replace “Log In” button with custom image

放肆的年华 提交于 2019-11-29 17:23:56
I have Page Tab App, which has a landing page with a "Log In" button for users to click to install the App. Can I replace the "Log In" button with my custom image? The current code for the "Log In" button is : <div class="fb-login-button" data-scope="friend_likes"></div> You can use the JS Api for this, function fbAuth() { FB.login(function(response) { if (response.authResponse) { alert('User fully authorize the app.'); } else { alert('User canceled login or did not fully authorize the app.'); } }, { scope: 'friend_likes' }); } then you can call it in a custom button with the onclick event: <a

Facebook API's fb:registration returning “Invalid 'client_id'” when not connected to Facebook

∥☆過路亽.° 提交于 2019-11-29 14:27:40
I'm trying to use Facebook's registration tool for my website. I would like to allow Facebook users to login seamlessly to my website, but also non-Facebook users to create an account through that unified UI. I'm using the <fb:registration> tag for that purpose. If I'm already connected to Facebook when arriving to the page, everything works as expected (the form is prefilled with information from my Facebook account). But if I'm not connected to Facebook, the following error is displayed: Invalid 'client_id'. . What am I doing wrong? Thanks very much for your help. You'll find below the HTML

Facebook SDK: Replace “Log In” button with custom image

北慕城南 提交于 2019-11-28 12:37:21
问题 I have Page Tab App, which has a landing page with a "Log In" button for users to click to install the App. Can I replace the "Log In" button with my custom image? The current code for the "Log In" button is : <div class="fb-login-button" data-scope="friend_likes"></div> 回答1: You can use the JS Api for this, function fbAuth() { FB.login(function(response) { if (response.authResponse) { alert('User fully authorize the app.'); } else { alert('User canceled login or did not fully authorize the

Facebook API's fb:registration returning “Invalid 'client_id'” when not connected to Facebook

人盡茶涼 提交于 2019-11-28 08:11:47
问题 I'm trying to use Facebook's registration tool for my website. I would like to allow Facebook users to login seamlessly to my website, but also non-Facebook users to create an account through that unified UI. I'm using the <fb:registration> tag for that purpose. If I'm already connected to Facebook when arriving to the page, everything works as expected (the form is prefilled with information from my Facebook account). But if I'm not connected to Facebook, the following error is displayed: