Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Andrew Parker 23 posts 88 karma points
    Jun 05, 2014 @ 12:11
    Andrew Parker
    0

    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

  • Mark 122 posts 255 karma points
    Oct 31, 2014 @ 13:47
    Mark
    0

    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

  • Andrew Parker 23 posts 88 karma points
    Nov 03, 2014 @ 11:15
    Andrew Parker
    0

    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

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Nov 03, 2014 @ 11:28
    Dennis Aaen
    0

    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

  • Andrew Parker 23 posts 88 karma points
    Nov 03, 2014 @ 12:11
    Andrew Parker
    0

    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 :-)

  • Mark 122 posts 255 karma points
    Nov 03, 2014 @ 12:53
    Mark
    0

    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..

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies