Skip to content Skip to sidebar Skip to footer

How To Display Instagram Api Response In Javascript Alert?

I am trying to send a delete request to instagram api using ajax but my current javascript code display the response in alert box as:

Solution 1:

$MediaIDvar= $_POST["MediaID"];

$MediaIDvar= $_GET["MediaID"]; // => this will overwrite the previous $MediaIDvar

it will work if you call the php script with a GET variable, not through ajax using POST ;-)

Post a Comment for "How To Display Instagram Api Response In Javascript Alert?"