如何寻找 Instagram 开发者支持?

7
我正在考虑一个使用Instagram API的项目,但当我注册Instagram开发者账户时遇到了问题。我找不到创建新客户端的按钮,当我点击“管理客户端”按钮时,出现以下情况:

here

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

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


我也看到了“注册已禁用”。唯一的区别是我已经有一个客户端,但我想创建一个新的。 - jah
我通过移动应用程序向Instagram报告了此问题,他们解决了这个问题。 - Ns789
@ns789,你向Instagram发送报告后,他们解决你的问题需要多长时间? - Rembulan Moon
请在24小时内翻译以下与编程相关的内容。只返回翻译后的文本。 - Ns789
不,这种情况下没有通知,您必须手动检查网站。 - Ns789
显示剩余3条评论
3个回答

4
我不知道为什么我的注册按钮也被禁用了。可能是Instagram api更新的原因。但我发现这个指南,对我很有帮助。 https://developers.facebook.com/docs/instagram-basic-display-api/getting-started 更新:
在我的情况下,我正在使用Android中的Webview。所以,以下是示例代码: (忽略对话框,您可以只实现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());
                    }
                }
            });
        }
    }

我在第四步遇到了错误:在该文档中验证测试用户。你能解释一下你是如何做到的吗? - Kowsigan Atsayam
如果您使用的是安卓系统,可以在任何浏览器或Webview中打开该链接。 - Rembulan Moon
我不确定问题在哪里,你是通过Postman生成访问令牌吗?请检查你的代码是否包含任何“#_”字符。 - Rembulan Moon
我也遇到了同样的问题{"error_type": "OAuthException", "code": 400, "error_message": "未找到匹配代码或已被使用"}。 - user2028
POST https://api.instagram.com/oauth/access_token D/OkHttp: app_id="应用ID"&app_secret="应用密钥"&grant_type=authorization_code&redirect_uri=https%253A%252F%252Flocalhost%253A8081%252F&code=AQCDTDeDxUrpl_pqQRit2lL3i_OITTknGdIyUyQAOylu-SqSPz-t2pMlDNTAS8SFEeaJlyKWGC8BScFKXOZY5M9dgFMjd-GSfw5zGAgU6IsMJYOLNA74Dd8-dOTiM7X18Rmu6ZWTG-lHg7pcI8Tmzaa2e4XASvuhTfPdGKuyWLPD2c8F2zvJOnLNprDC4a3WEcI9Xi2FA6BAC8-KyYUoMAv9U3a1VhbyGB2gmEPr0SmTFw D/OkHttp: --> END POST - user2028
显示剩余2条评论

3

如果您在使用Instagram的API时遇到了问题,想要直接与客服进行交流解决,那真的非常困难。因为我自己也面临着同样的问题。老实说,https://help.instagram.com并没有给我提供很多帮助,因为很难找到支持服务窗口。

以下是向Instagram客服团队报告您面临问题的方法:

通过Instagram Android应用程序

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

这就是我解决问题并恢复注册新客户按钮的方法:)

here


2

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

here

我的新注册按钮再次被禁用,因为支持新的Instagram Display API

here


那么新的解决方案是什么? - Kowsigan Atsayam
1
https://developers.facebook.com/docs/instagram-basic-display-api 这是解决方案。 - Ns789

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接