I have a error code, i dont know why, its make me angry if see it please help me, the code is
<?php
require 'instagram.class.php';
require 'instagram.config.php';
use MetzWeb\Instagram\Instagram;
$instagram = new Instagram(array(
'apiKey' => APP_KEY,
'apiSecret' => APP_SECRET,
'apiCallback' => OAUTH_CALLBACK
));
// script where you want to use authenticated methods
Hello
I have a error code, i dont know why, its make me angry if see it please help me, the code is
<?php require 'instagram.class.php'; require 'instagram.config.php'; use MetzWeb\Instagram\Instagram; $instagram = new Instagram(array( 'apiKey' => APP_KEY, 'apiSecret' => APP_SECRET, 'apiCallback' => OAUTH_CALLBACK )); // script where you want to use authenticated methods
$instagram->setAccessToken("746725767.59088d5.bbc1b9ba482f47bfba2f93884453f79a");
$result = $instagram->modifyRelationship('follow', 1608280286);
// Dump request status (success: 200) var_dump($result->meta); ?>
and the result is
NULL.
please tell me