set_default_friends
- Home
- Social Graph
- SvcFriendship
- set_default_friends
set_default_friends
Adds friendships for the default friends on a network.
Parameters
Name | Description |
userID required | User ID of the user performing the action. |
nodeID optional | Node ID the friendship belongs to. |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/svcFriendship?action=setDefaultFriends&userID=229751571&nodeID=188234&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
{ "service":"svcFriendship", "action":"setDefaultFriends", "code":1, "message":"Default Friendships Successfully Created", "item":{ "1":{ "userID":229751571, "pendingFriendIDs":[ ], "revPendingFriendIDs":[ ], "defaultFriendIDs":[ ] } } } |
Service Information
Service | svcFriendship |
Method | set_default_friends |
Type | REST |
Response Types | JSON, XML |