JavaScript how do I detect if user logined using my login button or login from facebook?
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: how do I detect if user logined using my login button or login from facebook?

  1. #1
    Join Date
    Aug 2013
    Posts
    1

    how do I detect if user logined using my login button or login from facebook?

    Hi,
    I implemented my facebook log in to my website but how do I know if the user used my log in button OR the user logged in by going to facebook.com.
    This way I can detect and take some action if he or she did not use my facebook log in button I used javascript API
    Other than that, every thing is working. but this is a big issue for me right now
    Thanks for any help or advice in advance

  2. #2
    PeejAvery's Avatar
    PeejAvery is online now Super Moderator Power Poster
    Join Date
    May 2002
    Posts
    10,878

    Re: how do I detect if user logined using my login button or login from facebook?

    Unless a Facebook API is giving you the login referrer, there would be no way to find that out.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center