Eddie 14 Posted November 1, 2017 Report Share Posted November 1, 2017 is anybody success on loading instagram through http post? Quote Link to post Share on other sites
Marani 80 Posted November 2, 2017 Report Share Posted November 2, 2017 What is loading? using API or loading html in the browser? In case of API refer to this:https://apigee.com/console/instagram Quote Link to post Share on other sites
Eddie 14 Posted November 3, 2017 Author Report Share Posted November 3, 2017 What is loading? using API or loading html in the browser? In case of API refer to this:https://apigee.com/console/instagramthanks, do you have any code sample for run instagram api ? Quote Link to post Share on other sites
Marani 80 Posted November 3, 2017 Report Share Posted November 3, 2017 You should create a client here first:https://www.instagram.com/developer/ Login with your account, create a client to get Client ID, Client Secret and Redirect URL.Put them in the following link: https://api.instagram.com/oauth/authorize/?client_id=CLIENT-ID&redirect_uri=REDIRECT-URI&response_type=tokenYou will be redirected to the following link and will get token: http://your-redirect-uri#access_token=ACCESS-TOKENNow you can use endpoints. Quote Link to post Share on other sites
Eddie 14 Posted November 3, 2017 Author Report Share Posted November 3, 2017 You should create a client here first:https://www.instagram.com/developer/ Login with your account, create a client to get Client ID, Client Secret and Redirect URL.Put them in the following link: https://api.instagram.com/oauth/authorize/?client_id=CLIENT-ID&redirect_uri=REDIRECT-URI&response_type=tokenYou will be redirected to the following link and will get token: http://your-redirect-uri#access_token=ACCESS-TOKENNow you can use endpoints.will try, thank you bud.. Quote Link to post Share on other sites
Eddie 14 Posted November 3, 2017 Author Report Share Posted November 3, 2017 just tried http post, it shows blank, i don't know if any problem happened. set(#get,$plugin function("HTTP post.dll", "$http get", "https://www.instagram.com/", $plugin function("HTTP post.dll", "$http useragent string", "Chrome 32.0 Win7 64-bit"), "https://www.instagram.com/", "", 20),"Global")load html(#get) Quote Link to post Share on other sites
Marani 80 Posted November 3, 2017 Report Share Posted November 3, 2017 First, read again what I said to create and get.Then: navigate("https://api.instagram.com/oauth/authorize/?client_id={#clientID}&redirect_uri={#redirectURI}&response_type=token&scope=public_content+follower_list+comments+relationships+likes","Wait")Get token with this: set(#token,$find regular expression($url,"(?<=token\\=).*"),"Global") I'm using Heopas HTTP plugin, so: set(#selfInfo,$plugin function("HeopasCustom.dll", "$Heopas HTTP Get", "https://api.instagram.com/v1/users/self/?access_token={#token}", "", "", "", "", ""),"Global")And now you can use this to, for example, search for a user (you must have the username in Sandbox of it returns an error): set(#searchUsr,$plugin function("HeopasCustom.dll", "$Heopas HTTP Get", "https://api.instagram.com/v1/users/search?q=someone&access_token={#token}", "", "", "", "", ""),"Global") Quote Link to post Share on other sites
Eddie 14 Posted November 3, 2017 Author Report Share Posted November 3, 2017 First, read again what I said to create and get.Then: navigate("https://api.instagram.com/oauth/authorize/?client_id={#clientID}&redirect_uri={#redirectURI}&response_type=token&scope=public_content+follower_list+comments+relationships+likes","Wait")Get token with this: set(#token,$find regular expression($url,"(?<=token\\=).*"),"Global") I'm using Heopas HTTP plugin, so: set(#selfInfo,$plugin function("HeopasCustom.dll", "$Heopas HTTP Get", "https://api.instagram.com/v1/users/self/?access_token={#token}", "", "", "", "", ""),"Global")And now you can use this to, for example, search for a user (you must have the username in Sandbox of it returns an error): set(#searchUsr,$plugin function("HeopasCustom.dll", "$Heopas HTTP Get", "https://api.instagram.com/v1/users/search?q=someone&access_token={#token}", "", "", "", "", ""),"Global") so if i want to use http post, i need to apply for Instagram api access token, right?( I use aymen's http post plugin, but in his sample code regarding instagram without API)and does instagram block me if i make mass follow and like since i use the same access token?also what you mean "you must have the username in Sandbox"? Quote Link to post Share on other sites
Marani 80 Posted November 3, 2017 Report Share Posted November 3, 2017 Watch this for API: Sandbox:When you want to start working with the Instagram API Platform, you can register a new app that will start in Sandbox mode. Since this mode is meant for development, apps in Sandbox mode are not visible to the general public, but instead are only visible to a limited set of up to 10 authorized 'sandbox users'. Only these users will be able to test and authenticate your app. https://www.instagram.com/developer/sandbox/ API limitations:https://www.instagram.com/developer/limits/ Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.