Android instagram共享中如何获取回调

Android instagram共享中如何获取回调,android,instagram,Android,Instagram,我试图在Instagram上分享我的数据,但当我在Instagram上分享我的内容时。我没有收到任何成功回调,或者当没有共享时,也没有收到失败回调。我找不到Instagram共享的SDK以及任何API。下面我提到了我的代码,我试图在Instagram上分享内容 // Create the new Intent using the 'Send' action. Intent share = new Intent(Intent.ACTION_SEND); // Limit this cal

我试图在Instagram上分享我的数据,但当我在Instagram上分享我的内容时。我没有收到任何成功回调,或者当没有共享时,也没有收到失败回调。我找不到Instagram共享的SDK以及任何API。下面我提到了我的代码,我试图在Instagram上分享内容

    // Create the new Intent using the 'Send' action.
Intent share = new Intent(Intent.ACTION_SEND);

// Limit this call to instagram
share.setPackage("com.instagram.android");

// Set the MIME type
share.setType(type);

// Create the URI from the media
File media = new File(mediaPath);
Uri uri = Uri.fromFile(media);

// Add the URI to the Intent.
share.putExtra(Intent.EXTRA_STREAM, uri);

try {
    // Fire the Intent.
    startActivityForResult(share, REQUEST_CODE);
} catch(ActivityNotFoundException e) {
    // instagram not installed
}
如中所述。他们没有对这种共享提供任何回调

如果您的应用程序创建了照片或视频,并且您希望您的用户使用Instagram共享它们,那么您可以使用Android Intents在Instagram的共享流中打开您的媒体


是否有任何方法可以获得回调。不幸的是,目前他们没有任何SDK。因此,答案是否定的。