Facebook comments plugin on html page not redirecting when user has to login to FB account - facebook-comments

Have implemented Facebook comments plugin. If a user is not signed into a Facebook account, after clicking the Comment button and loggin in to their account nothing happens unless the F5 key is pressed. Is this correct or do I need to do something.
When the Comment button is clicked the login screen says: Log in to use your Facebook account with . Then requests the login credentails.
I have added a login button which when pressed says "Log in to use your Facebook account with Comments." and then requests the login credentials.
This is an example of a page with the comments:
http://www.shahphoto.co.uk/wedding_photographers/wedding-photographer-cornwall-pervaiz-shah.html

Related

Facebook Recent Logins breaks OAuth flow

I'm having troubles working with what appears to be an error with Facebook's OAuth server-side flow. When logging into Facebook using "Recent Logins", Facebook does not redirect back to my calling application. Instead it goes directly to the Facebook home page.
If I login to Facebook using the email/password fields at the top right of the screen, then the redirection becomes successful.
Is there some way to force facebook to send users to it's main login page and not this main page that displays the recent logins when they are not already logged into Facebook?
This also occurs using Facebook's very own OAuth for developers. So I know it can't be just me.
Login to Facebook.com
Logout
Visit facebook's apps page
Click your profile pic and enter your password (rather than using the blue banner to login).
Facebook redirects you to their home page rather than this page
What would be great is a parameter to this page that would allow me to force a particular facebook login dialog as a workaround.

How to stop automatic facebook login in my website?

i have a site which has a facebook login button. if i am logged in facebook on same browser, and clicks on website login button, it redirects me to the profile page without asking option to login via facebook or via form. i will add google plus button also in future.
so please tell me how to stop this automatic login in facebook.
It's all about Browser Cookies and Cache.. The session already kept in your browser cache. so that's why .. It automatically redirects you to facebook. You need to clear your browser cache. to solve this issue...

after my visitors log in using Facebook connect, they need to log again when clicking on a like button

I'm developping a contest for my website.
http://www.abcroisiere.com?jeu=1
People can subscrire using Facebook connect. At the last page of the contest you can click on a like button.
But the visitor has to log in again in Facebook for that. Is it normal ? Is there something I'm missing ?
regards,
If the user was logged out of Facebook, goes to your site, and logs in to Facebook via the Login button on your site, the Like button won't be aware of that, so will still think the user needs to log in before they can complete the Like action
If this edge case is important to your app; refresh or replace the Like button after the user logs in. When it refreshes it will be aware of the user's login and won't prompt the login dialog if the user clicks it

Facebook logout problem

I am using Facebook Login button in my website.
Visitors can log in via facebook successfully.
FB login is working integrated with my own membership.
I mean I keep logs of FB logins.
The problem is here;
User may log out from my site by clicking Logout button (my own logout button)
When they press the logout button, i redirect them to logout.php and run the following JS;
"FB.logout()"
The JS code causes that user logout from their facebook account not my site.
If they login facebook on an another tab, and refresh my page they will log in again.
How can i end a session that user open via Facebook on my site?
You also have to clear facebook sessions from your machine with below code:
using Facebook;
Thread.Sleep(1000); // delay is required to get it work
Facebook.Session.ConnectSession cn = new Facebook.Session.ConnectSession(ConfigurationManager.AppSettings["APIKey"].ToString(), ConfigurationManager.AppSettings["Secret"].ToString());
cn.Logout();

Login with Facebook button issue in magento site

I have installed the fbconnect module of magento on my website and the 'Login with Facebook' button is there on this page:
https://www.scopial.com/customer/account/login
Whenever a user clicks this button it can be logged into the site using facebook account. But when the user is already logged into the site with facebook and when the user logged out of his facebook account and then comes back to the magento site and logged out from the magento site and then coming back to login page again, the facebook button disappears from the site.
I think this may be the issue of browser cookies as when i am clearing my browser's cookies, the facebook button is appearing there.
That account appears to be suspended in your example. However, you can find a lot of helpful information now on Facebook's developers website. See specifically https://developers.facebook.com/docs/authentication/