The MGTwitterEngine's sendUpdate with the inReplyTo parameter is not actually replying to a tweet and is instead tweeting a new one!
I faced the long long value problem as discussed in the forums, but I fixed that and the tweetID remains constant across. But whenever I reply to a tweet, when I check the twitter page, I'd have just tweeted a new one, instead of a reply.开发者_运维技巧
Please do let me know what I can do to fix this problem!
Thank you so much in advance!
sumitkm has right, all this conversion is unnecessary since at the end updateID is passing to param's NSString through stringWithFormat method. In addition to that I had to add to reply message prefix with name of user that I reply to, so example message would look like: "@MichalGumny my reply message". It works for me.
Prashanth,
The original MGTwitterEngine used an unsigned long as the tweet id. But the Tweet IDs have long gone past unsigned long id size. You'll need to change the tweet id to a NSString and pass it around as a NSString. Internally the value is posted as a part of URL so it's okay to pass it around as a string.
I posted the required changes here.
I haven't tried reply to a tweet myself, I'll give it a shot and post here if things are different.
精彩评论