cURL https://www.instagram.com/{USERNAME}/?__a=1 from production server return the Instagram login page

Viewed 1259

on my local server, I can do a cURL request to this Instagram endpoint: https://www.instagram.com/{USERNAME}/?__a=1
I get JSON data in return.
I specify that I have logged out from Instagram on my local computer.

When I do the same cURL request on my production server, I get the HTML of the Instagram login page in return.

Any idea why ?

0 Answers
Related