You have no favorites... yet!
Use the Library tree on the left to select a Choreo to call from your gateway device.
Use the Library tree on the left to select a Choreo to call from your edge device via the gateway.
Library . Foursquare . Users . ApproveFriendRequest
Approves a pending friend request from another user.
/*
TembooTask class placeholder
*/
/*
TembooTask header placeholder
*/
Since you've changed your device configuration, you'll need to tell us about this new device.
This feature is in experimental mode - pricing coming soon.
Send your code straight to a GitHub repository.
Your code will be visible by others in your repos. Keep credentials private by saving a Profile or commit code with Placeholder inputs.
The following files will be added to this repo:
You'll be able to edit and share your code from TI's CCS Cloud IDE.
The following will be sent to CCS Cloud:
/*
Your auto-generated code will appear here once you've configured your device above.
*/
/*
A header file containing your Temboo account information will appear here once you've
configured your device above.
*/
/*
Please log in to generate proxy server code for use with the JavaScript SDK.
*/
This Choreo approves a pending friend request from another user. The documentation for this Foursquare resource can be found here.
The following is a sample of the JSON information returned by this Choreo:
{ "meta":{ "code":200 }, "notifications":[{ "type":"notificationTray", "item":{ "unreadCount":0 } } ], "response":{ "user":{ "id":"22396968", "firstName":"Choreo", "lastName":"User", "photo":"https://foursquare.com/img/blank_girl.png", "gender":"female", "homeCity":"New York", "canonicalUrl":"https://foursquare.com/user/22396968", "type":"user", "relationship":"friend", "contact":{ "email":"choreodev@temboo.com" }, "pings":true, "badges":{ "count":0 }, "mayorships":{ "count":0, "items":[] }, "checkins":{ "count":0 }, "friends":{ "count":1, "groups":[{ "type":"friends", "name":"Mutual friends", "count":0, "items":[] }, { "type":"others", "name":"Other friends", "count":1, "items":[{ "id":"8567311", "firstName":"Aaron", "lastName":"Jennings", "photo":"https://foursquare.com/img/blank_boy.png", "gender":"male", "homeCity":"Brooklyn, NY", "canonicalUrl":"https://foursquare.com/user/8567311", "relationship":"self" } ] } ] }, "following":{ "count":0 }, "tips":{ "count":0 }, "todos":{ "count":0 }, "photos":{ "count":0 }, "scores":{ "recent":0, "max":0, "goal":50, "checkinsCount":0 } } } }
https://ACCOUNT_NAME.temboolive.com/callback/google
© 2025 Temboo, Inc Privacy Terms