Search found 5 matches

Go to advanced search

by Richard Edwards
Wed May 27, 2015 3:06 pm
Forum: Issues
Topic: Returning users logging in via Facebook API - how to get a sessionToken?
Replies: 6
Views: 1071
 
Jump to post

Returning users logging in via Facebook API - how to get a sessionToken?

Hi again, Hmm.. Not v successful. Can you help? Assuming I have the user's username and password, how does a server-side login code work? I have the following: code var XHRResponse = XHR.send("GET", "https://api.appery.io/rest/1/db/login" {...
by Richard Edwards
Wed May 27, 2015 12:52 pm
Forum: Issues
Topic: Returning users logging in via Facebook API - how to get a sessionToken?
Replies: 6
Views: 1071
 
Jump to post

Returning users logging in via Facebook API - how to get a sessionToken?

Hi Sergiy Thanks for replying. Unfortunately that doesn't work in this instance because the user is returning via Facebook, so they never use this "sign in" service and never get a sessionToken. This means they can't edit their own object in the Users collection. To fix this, I'm trying to...
by Richard Edwards
Thu May 21, 2015 7:20 am
Forum: Issues
Topic: Returning users logging in via Facebook API - how to get a sessionToken?
Replies: 6
Views: 1071
 
Jump to post

Returning users logging in via Facebook API - how to get a sessionToken?

Hi Hope you can help. I've followed your instructions on on how to build an app with the Facebook api , which I am using to log users in to my app. On my app, if a user logs in via Facebook for the first time, I then automatically use the new user's details to create a user in the User collection (u...
by Richard Edwards
Sat May 16, 2015 8:07 pm
Forum: Issues
Topic: Updating Users, keep getting unauthorized
Replies: 7
Views: 2218
 
Jump to post

Updating Users, keep getting unauthorized

Hi Max,

Thanks for the quick reply! Okay, so I have got that and also now realise that users can only update their own object too. It works!

Thanks for being so speedy and awesome!
Richard

by Richard Edwards
Sat May 16, 2015 7:00 pm
Forum: Issues
Topic: Updating Users, keep getting unauthorized
Replies: 7
Views: 2218
 
Jump to post

Updating Users, keep getting unauthorized

Hi there, I'm having difficulty updating users in my db. I think I've set up the service correctly but I keep getting the following - even when I test it within Appery: { "status":401, "uri":" https://api.appery.io/rest/1/db/users... ", "response":{ "code...

Go to advanced search