Hi,
I am currently trying to retrieve the access token via the Instagram API. The API documentation suggests a cURL command like so:
curl \\-F 'client_id=CLIENT-ID' \\
-F 'client_secret=CLIENT-SECRET' \\
-F 'grant_type=authorization_code' \\
-F 'redirect_uri=YOUR-REDIRECT-URI' \\
-F 'code=CODE' \\https://api.instagram.com/oauth/access_token
How do I replicate this in PHP?
Thanks in advance.
Jon