Page 1 of 4

Facebook Login

Posted: Thu Apr 05, 2012 9:11 pm
by dornz

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?


Facebook Login

Posted: Thu Apr 05, 2012 11:39 pm
by maxkatz

Facebook Login

Posted: Fri Apr 06, 2012 1:29 pm
by dornz

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.


Facebook Login

Posted: Fri Apr 06, 2012 8:44 pm
by maxkatz

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.


Facebook Login

Posted: Fri Apr 06, 2012 8:52 pm
by dornz

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...


Facebook Login

Posted: Sun Apr 08, 2012 1:53 am
by emmamcconnell37

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


Facebook Login

Posted: Sun Apr 08, 2012 6:00 pm
by maxkatz

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?


Facebook Login

Posted: Sun Apr 08, 2012 6:30 pm
by emmamcconnell37

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.


Facebook Login

Posted: Tue Apr 10, 2012 2:58 pm
by dornz

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.


Facebook Login

Posted: Tue Apr 10, 2012 4:23 pm
by maxkatz

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