php - Call Instagram API from localhost -


is possible instagram user details through api localhost ?

because trying doing localhost unable fetch information. after click login url redirect me instagram , after login , authorize apps redirect me in callback url code. when trying fetch info (curl) using access token return null.

but same code run in live.

make sure curl option curlopt_ssl_verifypeer set false. find curl request in code , add or edit option this:

$ch = curl_init(); ... curl_setopt($ch, curlopt_ssl_verifypeer, false);  <<-- add line 

Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -