I'm using GetUserTweets to display the latest tweet from a specific user on our website - but it's also including @replies. Does anyone know how to get the first tweet that *isn't* an @reply?
Thanks Dennis - I'm afraid that's only useful if you're using Twitter's own widget. uTweet has server-side code to fetch the latest tweets and render them in page (and customize the presentation).
At some point I'll get around to figuring out how to hide the replies - next project :-)
Well, in then end I cheated and used TweetShrap directly as that's what uTweet is built on. There's an option in it for hide replies and it only took a few mins to change my code..
Hide @replies from GetUserTweets
Hi there,
I'm using GetUserTweets to display the latest tweet from a specific user on our website - but it's also including @replies. Does anyone know how to get the first tweet that *isn't* an @reply?
Thanks!
Andrew
I don't suppose you found what you were looking for with this did you? Save me delving into the same issue if someone else has already solved it..
Mark
Hi Mark,
I didn't I'm afraid - I ran out of time to investigate further - so if you find a solution do let me know :-)
Andrew
Hi Mark and Andrew,
Perhaps, this blogpost can help you on how to hide @replies from GetUserTweets
http://chrisfriend.us/Blog/files/remove-twitter-replies-api11.php or https://dev.twitter.com/rest/reference/get/statuses/user_timeline
Hope this helps,
/Dennis
Thanks Dennis - I'm afraid that's only useful if you're using Twitter's own widget. uTweet has server-side code to fetch the latest tweets and render them in page (and customize the presentation).
At some point I'll get around to figuring out how to hide the replies - next project :-)
Well, in then end I cheated and used TweetShrap directly as that's what uTweet is built on. There's an option in it for hide replies and it only took a few mins to change my code..
is working on a reply...