Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Chandan Kumar

    (@chandanonline4u)

    To exclude replies, use “exclude_replies=true” parameter in user_timeline API. For more reference: https://dev.twitter.com/discussions/21950.

    I will definitely add option to exclude replies in plugin next version. Thanks.

    Thread Starter Simon Meisinger

    (@simon-meisinger)

    Thank you so very much for your fast reply! ??

    For people who are not too savvy with coding, go to the plugin’s folder, look for “import-tweets-as-posts.php”, open it and change this line:

    $user_timeline_url = "https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name=".$twitteruser."&count=".$notweets;

    …?into this:
    $user_timeline_url = "https://api.twitter.com/1.1/statuses/user_timeline.json?exclude_replies=true&screen_name=".$twitteruser."&count=".$notweets;

    Plugin Author Chandan Kumar

    (@chandanonline4u)

    Great!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Exclude conversations’ is closed to new replies.