Pike v8.0 release 1738

Method Web.Api.Instagram.V1()->Users()->relationship_change()


Method relationship_change

mapping relationship_change(string user_id, string action, void|Callback cb)

Description

Modify the relationship between the current user and the target user.

Note

Required scope: relationships

Parameter user_id

The user to change the relationship to

Parameter action

How to change the relationship. Can be:

  • "follow"
  • "unfollow"
  • "block"
  • "unblock"
  • "approve"
  • "deny"
Parameter cb

Callback function if in async mode