How to recognize facebook cookie php- login with facebook

Im using a facebook login with php only (no javascript), using FacebookRedirectLoginHelper.

When a user is login in the first time, I'm saving him in my database, and in the second time I'm just pop him out of the database.

The problem is that I don't know if this is the user's computer and add my own cookie so i can autolog him to my website next time.

Is there any way to check if this is the user computer or not.

In other words, is there any way to check if the user marked the checkbox "keep me logged in" whenever he logged to facebook?

Category:php Views:3 Time:2015-01-19

Related post

  • Facebook SDK iOS login with Facebook app installed 2012-03-19

    UPDATE: I've realized that the below problem only occurs if the user has already given Facebook access to my app, and then reinstals my app. The first time the user selects the Facebook button in my app, it goes to the Facebook app to get authenticat

  • Facebook iOS SDK: Login to Facebook without always ask for permissions for the application 2011-03-08

    I'm using the Facebook iOS SDK in my application and i have two similar question: Is there any way to know whether or not there is a user currently logged in? What i'm using now is storing the access token and expiration date on successful login, and

  • Posting to Facebook page from Facebook application without login to facebook 2012-04-22

    i am trying to post into a Facebook Page using PHP. I have created a Facebook application, and I am able to post into regular accounts FEED, using the very helpful code i found out in : Daily Automatic post in facebook users wall . to summarize it do

  • Login with Facebook doesn't work 2014-03-26

    I try to make login with Facebook but it still doesn't work. The problem is that after the user logs in, it doesn't redirect in another page and it isn't store facebook account in a mysql database. Please, could you give me some advice hot to fix it?

  • facebook auto re-login from cookie php 2011-05-25

    My website uses Facebook connect for login and the session lifetime on my server is 3600. I'm using Client-Side Flow (javascript) redirect to login.php, and login.php retrieve cookies (set by javascript) to get access token. However, if a user is idl

  • Incorporating facebook login, using facebook php-sdk (v.3.0.0), with sessions and cookies 2011-08-05

    I am new to PHP, and have had a very difficult time understanding the facebook login system. I have downloaded the three src/ files from github (https://github.com/facebook/php-sdk/). I tried using the example.php file to get me started. However, I a

  • when i login to facebook it says Cookies Required 2014-04-03

    when i login to facebook it says ---->Cookies Required Cookies are not enabled on your browser. Please adjust this in your security preferences before continuing. how do I fix this? --------------Solutions------------- Hello, landon5 Thank you for

  • Login into Facebook with PHP script, but let me logged in the browser after the end of this script 2009-04-28

    Please, I am solving this problem.. I need to login into Facebook or Twitter or any other website from my PHP script running on my server. I am normaly doing that with CURL, saving cookies to some predefined file. But now I need something new.. I nee

  • How to use Facebook connect to login in to my database? 2009-07-02

    I have a mysql membership database run by a Perl script. Account creation or login requires an email address and password. The Perl script then sets cookies (password cookie has encrypted value) which allow users to create, own and modify records. A

  • Facebook connect - Detect Login State using PHP 2010-02-06

    I have Facebook Connect working (partially at least). For a user who logged into facebook, when they first visit my site's login page, the following js line will refresh the page and my php log the user in. FB.init("api-key","xd_receiver.htm",{"reloa

  • I have tried to login to facebook via curl, 2010-08-06

    I have successfully logged into facebook in this manner but cannot seem to keep the facebook logged in as soon as you click anything in facebook it redirects you to the login page. I pondered this + thought that it was due to the fact that curl was u

  • Automatically login into facebook with PHP via curl (?) 2010-12-27

    I need to login into Facebook with my account because i want to create a crawler that fetchs some data from an app and put it into a database. I don't know if it's possible and where to start, i just know that some facebook APIs exist, but the url i

  • Login to Facebook Connect using JavaScript SDK freezes in Opera? 2011-01-07

    I have a Facebook Connect site under development. The login works great on Firefox, IE, Safari and Chrome. But when I test it using Opera (using the latest version = 11) I run into problems. I get to the point where I get the login form pop-up, fill

  • Where to find the Facebook cookie? 2011-01-21

    I'm kinda new to this so bear with me. I've installed a "Login with Facebook" button via the Javascript SDK, which works fine. I've also set up the PHP code (facebook.php) I can login successfully to Facebook via javascript but then can't access the

  • How to delete facebook cookie from server side with c#? 2011-03-05

    I'm using facebook to authenticate users at my website. I need to delete facebook cookie on logout from serverside with C#. could you please show me how to do it? tested and working example --------------Solutions------------- Assuming you know the n

  • Facebook cookie retained until manual referesh 2011-03-05

    I'm building a PHP site that uses Facebook OAuth as the login mechanism. The problem is that when the user logs out and is directed back to my site, the site is still effectively logged (at least in appearance) in until the user manually refreshes th

  • Form to redirect and login to facebook 2011-03-07

    I was wondering if it was possible to create a form on my website that accepts a username and password, and once submitted redirects a user to facebook and logs in automatically? I am not specifically asking for the code do do such a thing (although

  • IPhone Facebook Connect then Login to ASP.NET MVC Server 2011-03-15

    I have Facebook Connect Implemented on the IPhone I have a ASP.NET MVC "API" site that I want the IPhone client to connect and login to. This enable me to then connect the facebook user to the internal asp.net memberbership provider. How would I conn

  • Problem with login with facebook button 2011-03-23

    </html> <head> </head> <body> <iframe src="http://www.facebook.com/plugins/like.php?href=http://rgksugan.in/" scrolling="no" frameborder="0" style="border:none; width:450px; height:80px"><iframe> <div id="fb-roo

Copyright (C) dskims.com, All Rights Reserved.

processed in 0.158 (s). 11 q(s)