activities_add_user_favorite
This endpoint is used to add an activity stream item as a favorite for a user.
Resource URL
http://localhost/api/userplus/activities_add_user_favorite/
Method
POST
Required Parameters
- cookie
- activity_id
- key – get API key from Settings > User Plus
Sample Request URL
http://localhost/api/userplus/activities_add_user_favorite/?key=KEY-HERE&cookie=COOKIE-HERE &activity_id=12
Related Endpoints
- activities_find_mentions
- activities_get_user_favorites
- activities_get_user_mentionname
- activities_get_userid_from_mentionname
- activities_new_comment
- activities_post_update
- activities_remove_user_favorite
- activities_total_favorites_for_user