Hi,
I'm using the Gowalla API to log a user into my site. I've got everything working except for the part below using the OAuth login. I'd like to integrate this into my php site as easily as possible. I.e just make a simple function call from php that can retrieve the data.
The examples I found on php.net don't cover thee types of calls. Can anyone give me a snipplet? OR tell me if its even possible. P.s it has to be done over https.
curl -d 'grant_type=authorization_code' \
-d 'client_id=abc123' \
-d 'client_secret=123abc' \
-d 'code=48b0547514c7c848d326959899d4a88f' \
-d 'redirect_uri=http://example.com/callback' \
'https://gowalla.com/api/oauth/token'