Get A Member's Friends, Fans, and "Fan Of"
From KickApps Documentation
Get a list of a member’s friends, fans, and other members that he or she is a fan of. Your request will look something like the following:
http://api.kickapps.com/rest/member/{operation}/get/{userId)/{as}
Contents |
Parameters
As shown above, your call will include the following parameters:
- operation. friends, fans or fanof.
- userId. The id of the member who’s information is being retrieved.
- as. The site to be sent. as is unique for each of the affiliate's sites.
Post Parameters
- t. String. Required. Your access permissions.
- callback. String. Optional. The name of your JavaScript callback function.
- clientIP. String. Optional. Use the clientIP parameter to pass the IP address of the user making the call. If the IP has been blocked by the webmaster under the Affiliate Center -> Manage Members section, an error message will be returned starting with "status":"-1","error":"This IP address has been banned".
JSON Payload
On success, a return that begins with "status":"1","error":"", and an array of members under one of the following object titles: friends, fans, fanof (was "fanOf": Fixed by JH - Viva Peron !!!).
List of KickApps API Calls
Note: Occasionally (and without advanced warning) we modify our API calls by adding new parameters in the response payload. Please keep this in mind when designing your strategy for parsing our responses.
Favorites






