-
Notifications
You must be signed in to change notification settings - Fork 30
Recently Searched Hashtags
Justin Stolpe edited this page May 21, 2022
·
3 revisions
Get hashtags a user has recently searched.
use Instagram\User\RecentlySearchedHashtags;
$config = array( // instantiation config params
'user_id' => '<IG_USER_ID>',
'access_token' => '<ACCESS_TOKEN>',
);
// instantiate recently searched hashtags
$recentlySearchedHashtags = new RecentlySearchedHashtags( $config );
// get the users recently searched hashtags
$usersRecentlySearchedHashtags = $recentlySearchedHashtags->getSelf();