V
V
Volgarastraport2016-05-07 09:47:57
PHP
Volgarastraport, 2016-05-07 09:47:57

How to test a PHP script?

There is such an old and rather well-known script https://phpbl.ru/php/instagram-api-avtomaticheskij... I run
it on localhost in order to post a picture on Instagram.
No errors, no warnings, no pictures in Insta.
How to properly test this script?
If anyone has a couple of minutes, a square picture and an Instagram account, please check the script for yourself.
Does anyone have other working scripts for posting on Insta?
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Kirill Arutyunov, 2016-05-07
@arutyunov

Run xDebug, set breakpoints, see what happens in the script during execution.
Most likely, the instagram server does not give anything.

A
Ainur Shakirov, 2016-05-07
@Fqyeh29

The script is already a year old, and the API tends to change.
Moreover, I just compared the code with the documentation, and it seems that it has changed so much in a year.
Just check what insta returns. Most likely something like "This API is deprecated and no longer supported, please check out the new version of the API"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question