NewsCloud Web Services
API Categories
Friend Functions
friendAdd
Add a friend to this user\'s account. Requires account access.
Arguments
uid: the user id for this user
friendid: The user id of the friend.
REST Format:
http://api.newscloud.com/services/node.php?apikey=your-apikeyhere&method=friendAdd&uid=1&friendid=38Account Access: Because this method accesses a specific user account's private data, you either need to use the API key from the account of this user OR you must authenticate access to the user's account with userSignIn method before calling this function. Once signed in for this user's account, your session will last one hour.
friendList
List the friends of this userid. Requires account access.
Arguments
uid: the user id for this user
startRow: the start row to begin the query
REST Format:
http://api.newscloud.com/services/node.php?apikey=your-apikeyhere&method=friendList&uid=1&startRow=0Account Access: Because this method accesses a specific user account's private data, you either need to use the API key from the account of this user OR you must authenticate access to the user's account with userSignIn method before calling this function. Once signed in for this user's account, your session will last one hour.
friendRemove
Remove a friend from this user\'s account. Requires account access.
Arguments
uid: the user id for this user
friendid: The user id of the friend.
REST Format:
http://api.newscloud.com/services/node.php?apikey=your-apikeyhere&method=friendRemove&uid=1&friendid=38Account Access: Because this method accesses a specific user account's private data, you either need to use the API key from the account of this user OR you must authenticate access to the user's account with userSignIn method before calling this function. Once signed in for this user's account, your session will last one hour.
friendAdd
Add a friend to this user\'s account. Requires account access.
Arguments
uid: the user id for this user
friendid: The user id of the friend.
REST Format:
http://api.newscloud.com/services/node.php?apikey=your-apikeyhere&method=friendAdd&uid=1&friendid=38Account Access: Because this method accesses a specific user account's private data, you either need to use the API key from the account of this user OR you must authenticate access to the user's account with userSignIn method before calling this function. Once signed in for this user's account, your session will last one hour.
friendList
List the friends of this userid. Requires account access.
Arguments
uid: the user id for this user
startRow: the start row to begin the query
REST Format:
http://api.newscloud.com/services/node.php?apikey=your-apikeyhere&method=friendList&uid=1&startRow=0Account Access: Because this method accesses a specific user account's private data, you either need to use the API key from the account of this user OR you must authenticate access to the user's account with userSignIn method before calling this function. Once signed in for this user's account, your session will last one hour.
friendRemove
Remove a friend from this user\'s account. Requires account access.
Arguments
uid: the user id for this user
friendid: The user id of the friend.
REST Format:
http://api.newscloud.com/services/node.php?apikey=your-apikeyhere&method=friendRemove&uid=1&friendid=38Account Access: Because this method accesses a specific user account's private data, you either need to use the API key from the account of this user OR you must authenticate access to the user's account with userSignIn method before calling this function. Once signed in for this user's account, your session will last one hour.
