如何找到 Instagram 开发者支持?

How to find Instagram developer support?

我正在考虑一个使用 insta API 的项目,但是当我注册 instagramdeveloper 帐户时,我遇到了一些问题。我找不到创建新客户端的按钮,当我点击“管理客户端”按钮时,我得到的是:

当我点击“禁用注册”按钮时,没有任何反应。这是否意味着我被禁止使用 Instagram 开发者帐户?请注意,自从我创建了 Instagram 开发者帐户后,我还没有创建任何类型的客户 ID。

或者这是某种错误? 如何向 Instagram 支持团队报告我的问题? 非常感谢您的建议:)

当你遇到像我这样的 API 问题时,很难找到 Instagram 客户支持直接互动,因为我自己也面临着同样的问题。老实说 https://help.instagram.com 对我帮助不大,因为很难找到支持互动。

要向 Instagram 客户支持团队报告您遇到的问题,可以这样做:

通过 Instagram Android 应用程序

解释您的确切问题以向 ICS 报告问题。

这就是我解决问题的方法,我的注册新客户端按钮又回来了:)

我不知道为什么我的注册按钮也被禁用了。也许 Instagram api 更新。但是我意识到这个指南并且它对我有用。 https://developers.facebook.com/docs/instagram-basic-display-api/getting-started

已更新:

就我而言,我在 android 中使用 webview。所以,下面是示例代码: (忽略Dialog,只能实现webview及其onpagefinished方法)

    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());
                    }
                }
            });
        }
    }

一周前我发布了我的第一个答案,但随后我在我的 Instagram 开发者仪表板上收到了一条消息。

我的新注册按钮再次禁用因为有利于新Instagram Display API