Ejemplo n.º 1
0
 /**
  * Get the latest images based on the tag
  * @param string $accessToken
  * @param string $tagName
  * @param int $count
  * @return Object
  */
 public static function getMediaTagged($accessToken, $tagName, $count = 30)
 {
     $InstaTags = new InstaTags($accessToken);
     $response = $InstaTags->getRecentMediaByTag($tagName);
     $images = json_decode($response);
     return $images;
 }
Ejemplo n.º 2
0
 /**
  * Get the latest images based on the tag
  * @param string $accessToken
  * @param string $tagName
  * @param int $count
  * @return Object
  */
 public static function getMediaTagged($accessToken, $tagName, $count = 30)
 {
     $InstaTags = new InstaTags($accessToken);
     $InstaTags->count = $count;
     $response = $InstaTags->getRecentMediaByTag($tagName);
     return $response;
 }