uawdijnntqw1x1x1
IP : 3.144.20.12
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-348.7.1.lve.el7h.x86_64 #1 SMP Fri Dec 24 19:28:54 UTC 2021 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
/
public_html
/
0d544
/
..
/
..
/
.trash
/
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/public_html/0d544/../../.trash/revolution/php/instagram/./class-instagram.php