HOW TO USE INSTAGRAM RELATIONSHIPS METHOD TO UNFOLLOW IN APIGEE CONSOLE
i know this is a funny question but please help this kid understanding.
i've been surfing all over the internet and still cant find a guide or a solution for my problem
i cant understand what to fill in all of that
where should i put the scope action and etc
Solved! Go to Solution.
Dear @OjimDian ,
Welcome to Apigee Community 🙂 Please find steps below to use instagram relationship api in Apigee Console.
Step 1 :
Navigate to https://apigee.com/console/instagram
Step 2: Login to your Instagram account using OAuth option below Authentication select box
Step 3: Once you are logged in , you are ready to make API calls to retrieve information from your Instagram account & interact with your account using APIs exposed by Instagram & Apigee Console.
Step 4: For Example, I would like to retrieve my profile information. I will use first API call, i.e Users -> GET -> users/{user-id} . Click on First link on Select an API Method.
Step 5 : To make an API Call, you need to send user-id in the path, click on template to input user id that will be replace in API call , https://api.instagram.com/v1/users/{user-id} . To retrieve your account use your user-id or self. Let's fill the template user-id with 'self' & hit send to see API response.
I did successfully call the Instagram API & can see my profile information in response.
Step 6: Time to play with relationships API, If i would like to get my followers, I will make below API call.
Step 7 : Coming to your query, How to update relationship using API, POST https://api.instagram.com/v1/users/{user-id}/relationship
Let's say i would like to unfollow "indiancricketteam", i will use above api to do same. How ? Please find steps below.
Step 7.1 : Update {user-id} using template variables, Since i would like to unfollow "indiancricketteam" , i will fill template {user-id} value to "indiancricketteam" id which is 2091666763
Step 7.2 : I need to update action that I would like to do, in my case it is unfollow. Navigate to body & then update action value to "unfollow"
Step 7.3 : Hit send button to unfollow,
Step 7.4 : Verify using get making call to self follows API,
As you can see, I have successfully unfollowed "indiancricketteam" using Instagram APIs & Apigee Console.
Keep us posted if you have any queries.
help please 😞
@Apigee SOS help
Dear @OjimDian ,
Welcome to Apigee Community 🙂 Please find steps below to use instagram relationship api in Apigee Console.
Step 1 :
Navigate to https://apigee.com/console/instagram
Step 2: Login to your Instagram account using OAuth option below Authentication select box
Step 3: Once you are logged in , you are ready to make API calls to retrieve information from your Instagram account & interact with your account using APIs exposed by Instagram & Apigee Console.
Step 4: For Example, I would like to retrieve my profile information. I will use first API call, i.e Users -> GET -> users/{user-id} . Click on First link on Select an API Method.
Step 5 : To make an API Call, you need to send user-id in the path, click on template to input user id that will be replace in API call , https://api.instagram.com/v1/users/{user-id} . To retrieve your account use your user-id or self. Let's fill the template user-id with 'self' & hit send to see API response.
I did successfully call the Instagram API & can see my profile information in response.
Step 6: Time to play with relationships API, If i would like to get my followers, I will make below API call.
Step 7 : Coming to your query, How to update relationship using API, POST https://api.instagram.com/v1/users/{user-id}/relationship
Let's say i would like to unfollow "indiancricketteam", i will use above api to do same. How ? Please find steps below.
Step 7.1 : Update {user-id} using template variables, Since i would like to unfollow "indiancricketteam" , i will fill template {user-id} value to "indiancricketteam" id which is 2091666763
Step 7.2 : I need to update action that I would like to do, in my case it is unfollow. Navigate to body & then update action value to "unfollow"
Step 7.3 : Hit send button to unfollow,
Step 7.4 : Verify using get making call to self follows API,
As you can see, I have successfully unfollowed "indiancricketteam" using Instagram APIs & Apigee Console.
Keep us posted if you have any queries.
@Anil Sagar thanks i forgot to delete the {} in the action so i was sending action={unfollow} instead of action=unfollow thank you sir you are very helpfull
@OjimDian , Any time 🙂
can i have your contact facebook or email maybe for personal chat
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |