'How to get the actual tweet after POST favorites/create with the Twitter API?

My application provide user with the ability to like or dislike a tweet. The API end-point for the actions are POST favorites/create and POST favorites/destroy. Also in the documentation, there is this information "The immediately returned Tweet object may not indicate the resultant favorited status of the Tweet" which not what I want, the favorite_count is always wrong (when you like the first time, nothing happens. but the second time you dislike the favorite_count increase). I want it to return the updated tweet so that I can display real data in my application. BTW, my application is built with React and Redux in the front-end and Nodejs in the back-end.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source