【问题标题】:How to find Instagram developer support?如何找到 Instagram 开发者支持?
【发布时间】:2020-02-09 03:05:58
【问题描述】:

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

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

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

【问题讨论】:

  • 我还看到“注册已禁用”。唯一不同的是我已经有一个客户,但我想创建一个新客户。
  • 我通过移动应用向 Instagram 报告了这个问题,他们解决了这个问题。
  • @ns789 Instagram 在您发送报告后多久会解决您的问题?
  • 仅在 24 小时内或更短的时间内
  • 响应的任何通知?还是我们只是经常查看 Instagram 开发者网站?

标签: instagram instagram-api


【解决方案1】:

我不知道为什么我的注册按钮也被禁用了。也许 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());
                    }
                }
            });
        }
    }

【讨论】:

  • 第 4 步出现错误:在该文档中验证测试用户。你能解释一下你是怎么做到的吗?
  • 如果您使用的是安卓系统,您可以在任何浏览器或网页视图中打开该链接
  • 现在我修好了那个。但在第 5 步出现错误:用代码交换令牌。像这样 -> { "error_type": "OAuthException", "code": 400, "error_message": "Matching code was not found or been used" } 还有其他解决方案可以在 instagram 中获取用户 ID 和访问令牌吗?请帮助我。
  • 我不确定这个问题,你是由邮递员生成访问令牌吗?请检查您的代码是否包含任何“#_”字符。
  • 我也面临同样的问题 {"error_type": "OAuthException", "code": 400, "error_message": "匹配代码未找到或已被使用"}
【解决方案2】:

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

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

【讨论】:

【解决方案3】:

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

可以向 Instagram 客户支持团队报告您遇到的问题:

通过 Instagram Android 应用程序

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

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-05-01
    • 2016-01-29
    • 1970-01-01
    相关资源
    最近更新 更多