Skip to content

Update facebook token

Rafael Chacon edited this page Feb 22, 2012 · 1 revision

Description

Update the facebook oauth token for current authenticated user

###URL: PUT http://public-api.piictu.com/v2/services/facebook

###HTTP method(s): PUT

###Requires authentication (Authentication and Authorization): Yes

###Parameters:

  • oauth_token (optional:string): new oauth token

###Usage example:

Example using cUrl:

curl -i http://public-api.piictu.com/v2/services/facebook \
 -F oauth_token=af0de12cb2367691516b84 \
 -X PUT \
 -H "Authorization: OAuth 2540af0de12cb2367691516b8477b0b7bd66dbd8ab6840b147340c6898c4eebd"

###Response:

On success

  • HTTP response code is 200 (OK)

Clone this wiki locally