20181231

POST direct_messages/events/new supports media attachments of type image, GIF and video. The process is similar to attaching media to Tweets:

【外部リンク】
https://developer.twitter.com/en/docs/direct-messages/message-attachments/guides/attaching-media
Attaching media
POST direct_messages/events/new supports media attachments of type image, GIF and video. The process is similar to attaching media to Tweets:

Chunk upload the image, GIF or video.
Send Direct Message with media attachment.
It is possible to attach the same media asset to multiple Direct Messages. However, you must get users’ express consent to set media as “shared,” and must provide them with clear notice that “shared” media will be viewable by anyone with the media’s URL. See the documented process below for how to set media to "shared."

Note: Media for use with Direct Messages should be uploaded using the asynchronous chunked upload process described on this page.


--

注目の投稿

cURL error 60: SSL certificate problem: unable to get local issuer certificate

cURL error 60: SSL certificate problem: unable to get local issuer certificate 更新失敗: ダウンロードに失敗しました。 cURL error 60: SSL certificate problem: ...

人気の投稿