0
我正在使用以下代碼在instagram上關注用戶。它成功運行併發送沒有狀態的代碼200。它沒有成功。請告訴我什麼是問題,我該怎麼做?無法關注instagram
var followurl = "https://api.instagram.com/v1/users/" + userid + "/relationship";
var status="follow";
$.ajax({
url: followurl,
dataType: 'jsonp',
data: { access_token:accesstoken, action:status},
success: function (result) {
alert(result.meta.code);
alert(result.data.outgoing_status);
},
error: function() {
alert("error");
}
});