I am thinking on a project that uses insta APIs but when I signup for instagramdeveloper account I have some kinda issue with it. I cannot find a button to create new Client and when I hit Manage client button this is what I got:
when I hit Registration Disabled button Nothing Happens. Is that mean am I ban from an Instagram developer account? please note I haven't created any kind of Client ID since I created an Instagram developer account.
OR was this some kinda bug? How can I report my issue to the Instagram support team? your suggestions are appreciated:)
The official Instagram support email is [email protected]. Also, if you would like to contact them via another channel, you can do that from the Instagram app (gear wheel) in your profile, as the following image (Android app version).
How to Get Developer Settings? Press and hold the “Home” icon at the bottom left your home screen. Then click on the “Modify Quick Experiments Settings” option on the screen that appears in front of you.
The Instagram Basic Display API allows users of your app to get basic profile information, photos, and videos in their Instagram accounts. The API is intended for non-Business and non-Creator Instagram users.
Step 1: Create a Instagram Developer Account 1 Go to Instagram developer page 2 Click on Register Your Application 3 Click on Register a New Client 4 Fill the form and click on Register 5 Go to Clients manager. 6 Click on Manage in your application block. 7 Copy and save your credentials: Client ID and Client Secret More ...
If you need to report a problem or find your current support requests, just find the related buttons on the same page and tap on them. Instagram’s contact email is believed to be [email protected]. There are three publicly available Instagram phone numbers could be found online.
The Instagram Basic Display API allows users of your app to get basic profile information, photos, and videos in their Instagram accounts. The API is intended for non- Business and non- Creator Instagram users.
Another way Instagram monitors new developments is by introducing a Sandbox mode. Before an app can go live, it must go through Sandbox mode. This mode allows Instagram to review your app to see if it meets one of its three uses cases (jump to section). The most important things to know about Sandbox mode are as follows:
I dont know why my registration button is disabled too. Maybe Instagram api update. But I realize this guide and It works for me. https://developers.facebook.com/docs/instagram-basic-display-api/getting-started
Updated :
In my case, i am using webview in android. So, below is the example code : (Ignore the Dialog, you can implement only webview and its onpagefinished method)
public class AuthenticationDialog extends Dialog {
private String TAG = AuthenticationDialog.class.getSimpleName();
private AuthenticationListener listener;
private Context context;
private WebView webView;
private final String url = "https://api.instagram.com/" + "oauth/authorize/?app_id=" +
getResources().getString(R.string.app_id)
+ "&redirect_uri="
+ getResources().getString(R.string.redirect_url)
+ "&response_type=code"
+ "&scope=user_profile,user_media";
public AuthenticationDialog(@NonNull Context context, AuthenticationListener listener) {
super(context, android.R.style.Theme_Black_NoTitleBar_Fullscreen);
this.context = context;
this.listener = listener;
}
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
this.setContentView(R.layout.auth_dialog);
this.getWindow().setLayout(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT);
initializeWebView();
}
private void initializeWebView() {
webView = (WebView) findViewById(R.id.webView);
webView.getSettings().setUseWideViewPort(true);
webView.getSettings().setLoadWithOverviewMode(true);
webView.getSettings().setJavaScriptEnabled(true);
webView.loadUrl(url);
Log.d(TAG, "url: " + url);
webView.setWebViewClient(new WebViewClient() {
String access_token;
boolean authComplete;
@Override
public void onPageStarted(WebView view, String url, Bitmap favicon) {
super.onPageStarted(view, url, favicon);
Log.d(TAG, "onPageStarted called");
}
@Override
public void onPageFinished(WebView view, String url) {
super.onPageFinished(view, url);
Log.d(TAG, "onPageFinished called " + url);
if (url.contains("?code=") && !authComplete) {
Log.d(TAG, " inside access_token");
access_token = url;
//get the whole token after "=" sign
access_token = access_token.replace("https://www.instagram.com/?code=","");
access_token = access_token.replace("#_","");
Log.d(TAG, "token: " + access_token);
authComplete = true;
listener.onTokenReceived(access_token);
webView.loadUrl("https://instagram.com/accounts/logout/");
dismiss();
} else if (url.contains("?error")) {
Log.d(TAG, "getting error fetching access token");
dismiss();
} else {
Log.d(TAG, "outside both" + url.toString());
}
}
});
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With