Instagram Panel API Help

Closed

Description

We are making a form where the user enters the amount of likes they want to add to the photo and the link and then it adds the likes to the photo. We are doing this through someones API but we cant get it to work.

If you can make it work your hired:

<?php

class igers

{

public $api_url = '[url removed, login to view]'; // API URL

public $api_key = 'YOURKEY'; // Your API key

public function order($link, $type, $quantity)

{ // Add order

return json_decode($this->connect(array(

'key' => $this->api_key,

'action' => 'add',

'type' => $type,

'amount' => $quantity,

'link' => $link

)));

}

public function status($order_id)

{ // Get status

return json_decode($this->connect(array(

'key' => $this->api_key,

'action' => 'status',

'order' => $order_id

)));

}

private function connect($post)

{

$_post = Array();

if (is_array($post)) {

foreach ($post as $name => $value) {

$_post[] = $name.'='.$value;

}

}

if (is_array($post))

{

$url_complete = join('&', $_post);

}

$url = $this->api_url.$url_complete;

$ch = curl_init($url);

curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

curl_setopt($ch, CURLOPT_HEADER, 0);

curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);

curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/4.0 (compatible; MSIE [url removed, login to view]; Windows NT 5.0)');

$result = curl_exec($ch);

if (curl_errno($ch) != 0 && empty($result))

{

$result = false;

}

curl_close($ch);

return $result;

}

}

?>

Skills: HTML, MySQL, PHP

See more: html 5 api, instagram post, instagram panel, instagram api, api key, panel instagram, php curl_exec curl_errno, php instagram, php post array, api status, photo status likes, json_decode, status photo likes, function order, instagram user, private instagram, php form post array, want panel, likes photo status, php form array post, someones private instagram, instagram panel api, private instagram api, public private key, html adds

Project ID: #5262766

7 freelancers are bidding on average $71 for this job

srinichal

I am willing to discuss further about the project and deliver the same to your needs .

$94 USD in 1 day
(94 Reviews)
7.2
rsen75

hi, i'm 14+ experienced with strong knowledge of API integration for many CMS and e-Com see my few portfolio **WooCommerce Payment Plugins ccavenue wolrd / paypal pro /SEYLAN bank/libertyreserve/perfectmo More

$100 USD in 4 days
(39 Reviews)
5.4
rvtechsolution

Hello, We have reviewed your post and we are confident that we can design and develop a PHP/Joomla/ WordPress/Cakephp/Codeigniter/ajax/css/html website with mysql as backend if required with web2.0 design for you a More

$53 USD in 15 days
(11 Reviews)
3.7
ppn123

Hi, We are a team of professional developers in Asp.Net(VB.Net, C#.Net), HTML5, CSS3, JQuery, PHP,MySQL,SQL Server,Oracle,SharePoint, WordPress and Joomla and having many years of relevant experience in web/window More

$105 USD in 5 days
(2 Reviews)
3.0
Steve861117

i am a HTML, MySQL, PHP expert. and Instagram too. pls tell me your site ftp info. then i will fix immediately. Thx,.

$35 USD in 1 day
(4 Reviews)
2.3
srivaninxtvision

Hello sir, we are having a 5 yrs experience in the fields of HTML,MySQL,PHP. If u assist us in doing this project we are going to provide it at the best of our knowledge.

$88 USD in 4 days
(0 Reviews)
0.0
webexpert87

Over the last 4 years, I have developed a wide range of websites for startup companies, small businesses and product base projects. My core competency lies in complete end-end management of a new website developmen More

$25 USD in 1 day
(0 Reviews)
0.0