uawdijnntqw1x1x1
IP : 18.221.173.98
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
sudancam
/
.trash
/
tyblue.2
/
..
/
wp-pagenavi.2
/
..
/
revolution
/
php
/
instagram
/
class-instagram.php
/
/
<?php /** * Instagram * * with help of the API this class delivers all kind of Images from instagram * * @package socialstreams * @subpackage socialstreams/instagram * @author ThemePunch <info@themepunch.com> */ class TP_instagram { /** * API key * * @since 1.0.0 * @access private * @var string $api_key Instagram API key */ private $api_key; /** * Initialize the class and set its properties. * * @since 1.0.0 * @param string $api_key Instagram API key. */ public function __construct($api_key) { $this->api_key = $api_key; } /** * Get Instagram Pictures * * @since 1.0.0 * @param string $user_id Instagram User id (not name) */ public function get_public_photos($search_user_id){ //call the API and decode the response $url = "https://api.instagram.com/v1/users/".$search_user_id."/media/recent?access_token=".$this->api_key."&client_id=".$search_user_id; $rsp = json_decode(file_get_contents($url)); return $rsp->data; } } ?>
/home/sudancam/.trash/tyblue.2/../wp-pagenavi.2/../revolution/php/instagram/class-instagram.php