Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { [Error: APISubscriptionError: Invalid URL. The URL may be on a private network.]
- code: 400,
- error_type: 'APISubscriptionError',
- error_message: 'Invalid URL. The URL may be on a private network.',
- retry: [Function] } undefined
- var express = require('express');
- var app = express();
- var api = require('instagram-node').instagram();
- api.use({access_token : 'xxxxxxxxxxxxxxx'})
- api.use({
- client_id:'xxxxxxxxxx',
- client_secret:'xxxxxxxxxxxxx'
- });
- var redirect_uri = 'http://127.0.0.1:3000/callback';
- api.add_geography_subscription(48.565464564, 2.34656589, 100, 'http://127.0.0.1:3000/callback',
- {},
- function(err, result, remaining, limit){
- console.log(err,result)
- });
- app.listen(3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement