Twitter Developer Labs
-
Bug: incorrect like_count stats in the sample stream
I got this json data out of https://api.twitter.com/labs/1/tweets/stream/sample?format=detailed
This tweet https://twitter.com/theA1wife/status/1236899957858164736 has ~20K likes right now, though the stats in the json show 0 like_count.
I apologize if this isn't where bugs go, but I didn't find anywhere else to post this.
```
…{
"data": {
"id": "1236899957858164736",
"created_at": "2020-03-09T06:21:45.000Z",
"text": "RT @JLo: Wait for it! @AROD <a rel="nofollow noreferrer" href="https://t.co/MNAxO0z2BA">https://t.co/MNAxO0z2BA</a> <a rel="nofollow noreferrer" href="https://t.co/PZIlDlTvyt"">https://t.co/PZIlDlTvyt"</a>,
"author_id": "960338257190862849",
"referenced_tweets": [
{
"type": "retweeted",
"id": "1236865771692670976"
}
],
"attachments": {
"media_keys": [
"7_1236865730156494848"
]
},
"entities": {
"urls": [
{
"start": 28,
"end": 51,
"url": "<a rel="nofollow noreferrer" href="https://t.co/MNAxO0z2BA"">https://t.co/MNAxO0z2BA"</a>,
"expanded_url": "<a rel="nofollow3 votes -
Need a way to manage compliance (deleted Tweets) while using Sampled stream
I currently use the statuses/sample endpoint to stream 1% of Tweets and related compliance events for those Tweets. Having the deleted Tweet events helps me know when Tweets I've received are no longer available so that my database and application stay compliant with Twitter's policies.
Please give me a similar compatible and convenient way to keep the data received from Sampled stream compliant.
1 voteThanks for the feedback! As part of Twitter’s API v2, we are looking into how we can better support compliance use of our APIs. More information to come.
- Don't see your idea?