Thursday 15 July 2010

javascript - Google+ and Facebook Login on Page Load -


I have been successful in implementing the Facebook API and Google+ API. I have no problem with login or logout. Even when the page refreshed information is working well.

But when the user enters Google+ and Facebook in separate tabs and he gives an access to the app by logging in with both accounts, I am looking at both images.

How can I avoid this on page load, I would only like to see either Facebook or Google+, but not both.

  • If Facebook log-in will only show to Facebook
  • If Google+ login is only Google
  • If it is logged in to both of them Show only one.

    this just outside, how to do both:

    The main parts One of the identities vs users is the concept. A user represents a human, an identity represents human penetration with a particular social network. Data protection is being performed on users, showing photos and identifying what's done.

    The first code snippet, which shows some logic for decryption to use both logins if the user is logged in with both.



No comments:

Post a Comment