Account Activity APIの挙動を確認しているのですが、自分がフォローしている人がツイートを消した時のtweet_delete_eventsが送信されません。
自分は無料ユーザーで ダッシュボード にSandboxと表示されています。
tweet_delete_eventsが送信されないのは正常な動作でしょうか?
それとも、何かの問題が発生しているのでしょうか?
以下の投稿によると、2018/06/12にtweet_delete_eventsは追加されたはずです。
自分自身のツイートを削除した時は以下のようなイベントが来るのですが、他人がツイートを削除した時にイベントが送信されません。
{“for_user_id”:“60850650”,“tweet_delete_events”:[{“status”:{“id”:“1021480108694093824”,“user_id”:“60850650”},“timestamp_ms”:“1532374819255”}]}
以前の質問やDeveloper Policy によると
- If Content is deleted, gains protected status, or is otherwise suspended, withheld, modified, or removed from the Twitter Service (including removal of location information), you will make all reasonable efforts to delete or modify such Content (as applicable) as soon as reasonably possible, and in any case within 24 hours after a request to do so by Twitter or by a Twitter user with regard to their Content, unless otherwise prohibited by applicable law or regulation, and with the express written permission of Twitter.
- If your Service will display Content to the public or to end users of your Service, and you do not use Twitter Kit or Twitter for Websites to do so, then you must use the Twitter API to retrieve the most current version of the Content for such display. If Content ceases to be available through the Twitter API, you may not display such Content and must remove it from non-display portions of your Service as soon as reasonably possible.
とあるので、他のユーザーのツイート削除イベントを受信する必要があります。