Send post request to Instagram from app

Hello
I tried to send Instagram post request inside my application. out of the application with curl everything goes fine but when I try to send request from the application I have an error wich I can not understand what says.

my request code:

$http.post('https://api.instagram.com/v1/media/1231956524184304770_627853774/likes',
 data,
 {'Content-Type': 'application/x-www-form-urlencoded'} )
        .then(function() {
console.log("that was successfull");
          }, function(err)  {
            console.log("in higher level we got an error " + JSON.stringify(err) );
          });

my log:

067012
log in higher level we got an error 
{"data":null,"status":0,"config":{
  "method":"POST",
  "transformRequest":[null],
  "transformResponse":[null],
  "Content-Type":"application/x-www-form-urlencoded",
  "url":"https://api.instagram.com/v1/media/1231956524184304770_627853774/likes",
  "data":"access_token=ACCESS_TOKEN",
  "headers":{
    "Accept":"application/json, text/plain, */*","Content-Type":"application/json;charset=utf-8"
  }
}, "statusText":""}

and this is my whitelist:

<allow-navigation href="http://*/*"/>
<allow-navigation href="https://*/*"/>
<allow-navigation href="data:*"/>
<access origin="*" subdomains="true"/>

in addition, when I send another post requests to my local web server it works correctly and I think my problem is just with Instagram request sending.

guys, is there not there any solution ? I just stuck for a week this problem :frowning: