我想在沒有本機應用程序的情況下將圖像和文本分享到Twitter。我已經安裝了Twitter的推薦,並用於共享此代碼面料插件:在沒有本地應用程序的情況下在Android中分享圖像到twitter
TweetComposer.Builder builder = new TweetComposer.Builder(this)
.text("just setting up my Fabric.")
.image(myImageUri);
builder.show();
In the event that the Twitter app is not installed, TweetComposer will create an intent to interact with the Twitter.com in a browser. The browser ignores a specified image.是否有可能,如果沒有安裝本地應用發送圖像?
你有沒有考慮過使用Twitter4j? http://twitter4j.org/en/code-examples.html#oauth – Eenvincible