彼らの文書によると:
https://dev.twitter.com/twitter-kit/android/compose
最後に、彼らは次のように述べて います。Twitter アプリがインストールされていない場合、TweetComposer はブラウザーで Twitter.com とやり取りするインテントを作成します。ブラウザは指定された画像を無視します。
Fabric またはその他の方法を使用して、ツイーター フィードに画像を公開する方法はありますか?
彼らの文書によると:
https://dev.twitter.com/twitter-kit/android/compose
最後に、彼らは次のように述べて います。Twitter アプリがインストールされていない場合、TweetComposer はブラウザーで Twitter.com とやり取りするインテントを作成します。ブラウザは指定された画像を無視します。
Fabric またはその他の方法を使用して、ツイーター フィードに画像を公開する方法はありますか?
現在、このオプションはファブリック フレームワークでは使用できません。 https://dev.twitter.com/twitter-kit/android/compose
注: Twitter アプリがインストールされていない場合、TweetComposer はブラウザーで Twitter.com とやり取りするインテントを作成します。ブラウザは指定された画像を無視します..
REST API を使用してツイートを公開できます
https://dev.twitter.com/rest/reference/post/statuses/update_with_media
POST /1.1/statuses/update_with_media.json HTTP/1.1
Host: api.twitter.com
User-Agent: Go http package
Content-Length: 15532
Authorization: OAuth oauth_consumer_key="...", oauth_nonce="...", oauth_signature="...", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1347058301", oauth_token="...", oauth_version="1.0"
Content-Type: multipart/form-data;boundary=cce6735153bf14e47e999e68bb183e70a1fa7fc89722fc1efdf03a917340
Accept-Encoding: gzip
--cce6735153bf14e47e999e68bb183e70a1fa7fc89722fc1efdf03a917340
Content-Disposition: form-data; name="status" Hello 2012-09-07 15:51:41.375247 -0700 PDT!
--cce6735153bf14e47e999e68bb183e70a1fa7fc89722fc1efdf03a917340
Content-Type: application/octet-stream
Content-Disposition: form-data; name="media[]"; filename="media.png" ...
--cce6735153bf14e47e999e68bb183e70a1fa7fc89722fc1efdf03a917340--