istan
istan

Reputation: 1359

how to get foursquare uid from token based authetication?

I'm using Token Flow as described here https://developer.foursquare.com/overview/auth

User authenticates foursquare and is sent to a callback page on my server from which I parse the access token for that user out of the url.

Once i have this access token, how do I look up the user so I can grab her uid?

thanks

Upvotes: 0

Views: 345

Answers (1)

akdotcom
akdotcom

Reputation: 4687

Use the /users/USER_ID endpoint with user id "self" to get information about the acting user.

Upvotes: 2

Related Questions