I am preparing an application to send tweets using Twitter REST API. I want to WARN (duplicate tweet) users if they try to send a tweet already submitted from my application.
Twitter says for a duplicate tweet –
For each update attempt, the update text is compared with the
authenticating user’s recent tweets. Any attempt that would result in
duplication will be blocked, resulting in a 403 error. Therefore, a
user cannot submit the same status twice in a row.
How twitter collects recent tweets?
- interval of time.
- no. of latest tweets by user.
No definition available on twitter. Can someone help?
The same thing i am facing with facebook status updates.
Twitter doesn’t publish the exact conditions for duplicate status detection and they’re subject to change over time..
I found a discussion at : https://dev.twitter.com/discussions/800
I assume after 1 month or sending 20 tweets we are allowed to enter a duplicate tweet again. I am going to test with both conditions.
I will try the same 1 month or 20 status updates gap for duplicate insert with facebook.