Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] login-by-Facebook verification
- Date: Wed, 21 Sep 2011 10:13:46 +0900
- From: Darren Cook <darren@example.com>
- Subject: Re: [tlug] login-by-Facebook verification
- References: <4E70AC90.6090204@example.com>
- User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.21) Gecko/20110831 Thunderbird/3.1.13
> I have a facebook question too: I have implemented a > login-by-facebook-account, using their oauth-style protocol. > the other way to do it is to use the Javascript API. > My question is, can I use the Javascript API, and send the server the > results? Hello Shmuel, By "results" you mean the access token, so further facebook actions can be sent by the server? If so, yes. There is an example in javascript here: http://stackoverflow.com/questions/4758770/how-to-get-access-token-from-fb-login-method-in-javascript-sdk Also, if using php-sdk, you can extract the token from the cookie. The php-sdk does this behind the scenes for you, but if you want to see how it is done see parseSignedRequest() in base_facebook.php. Darren -- Darren Cook, Software Researcher/Developer http://dcook.org/work/ (About me and my work) http://dcook.org/blogs.html (My blogs and articles)
- References:
- [tlug] login-by-Facebook verification
- From: Shmuel Fomberg
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Network cabling help needed
- Next by Date: Re: [tlug] Bitsa Woes
- Previous by thread: [tlug] login-by-Facebook verification
- Next by thread: [tlug] Using TestDisk to recover a munged partition table
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links