Piroro-hs / react-native-twitter

A Twitter API client library for React Native. Currently not maintained as my main motivation of creating this library was to use the User Streams API.
MIT License
39 stars 20 forks source link

Not able to retweet #7

Closed vijayst closed 7 years ago

vijayst commented 7 years ago

I am using client.rest.post('statuses/retweet/:id', { id }) to retweet. But I get an error saying: No status found with { id: 0 }.

vijayst commented 7 years ago

Closing this issue - as it seems to work fine after I reinstalled.

vijayst commented 7 years ago

It is still happening for me. It worked for a few times. And then stopped working. screenshot_20170825-165528

Piroro-hs commented 7 years ago

Maybe you use Number as id. JavaScript cannot support numbers with > 53-bits, so id should be String.

vijayst commented 7 years ago

Thanks, using id_str instead of id worked.