dornz
Posts: 0
Joined: Thu Apr 05, 2012 9:11 pm

Facebook Login

Using Parse, is it possible to create and app where users can log in with Facebook? Then can I pull in information about this user's friends?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Facebook Login

dornz
Posts: 0
Joined: Thu Apr 05, 2012 9:11 pm

Facebook Login

I tried that but got stuck coming up with this information:

"facebook": {
"id": "user's Facebook id number as a string",
"access_token": "an authorized Facebook access token for the user",
"expiration_date": "token expiration date of the format: yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"
}

Not sure what to use for id, access_token and expiration_date. A guide or example would be helpful.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Facebook Login

We'll try to post an example. But as that's Parse's API, you should contact them to find what these id's are for and how to get them.

dornz
Posts: 0
Joined: Thu Apr 05, 2012 9:11 pm

Facebook Login

I figured it out. I needed to add the Facebook code and use the Facebook API to get the required information for the Parse call. http://developers.facebook.com/docs/g...

emmamcconnell37
Posts: 0
Joined: Fri Apr 06, 2012 5:02 pm

Facebook Login

A simple tutorial on this would be awesome guys as a lot of people use social networking sites.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Facebook Login

Would you be able to post more details (services calls, etc) for other users to see how you used Tiggzi app builder to connect to Facebook via Parse?

emmamcconnell37
Posts: 0
Joined: Fri Apr 06, 2012 5:02 pm

Facebook Login

I been having a look here, also possible sign in with Twitter
https://dev.twitter.com/docs/auth/imp...
It's a bit cryptic though.
If anyone had any success using this, please let us know :-)
getSatisfaction even uses this login feature.
Its cool and can easily save from problematically coding login screens repeatedly.
It's there to be used guys.I'm going to study it some more.
Any success i will post here.

dornz
Posts: 0
Joined: Thu Apr 05, 2012 9:11 pm

Facebook Login

There are 2 steps: 1) use the Facebook code and API to log in to Facebook 2) Using the response from Facebook, make a REST call to Parse to create a user. I am able to do these 2 steps individually, but I am really struggling to do step 2 automatically with javascript. I will try to post more information if I have time.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Facebook Login

Have you tried defining a service instead of doing it in JavaScript?

Return to “Issues”