Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require '../src/Instagram.php';
- /////// CONFIG ///////
- $username = '';
- $password = '';
- $debug = false;
- $photo = ''; // path to the photo
- $caption = null; // caption
- //////////////////////
- $insta = new Instagram($username, $password, $debug);
- try{
- $instaId = '1435464203242425768_3770950408'; //Like this post Id
- $reply = $insta->deleteMedia($instaId);
- }catch(Exception $g){
- $g->getMessage();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement