Get newstweets in another language (1 post)

  1. buzink
    Posted 7 years ago #

    If you use the plugin newstweet and you would like to get tweets in another language, edit the file newstweet-ajax.php.

    Check out the line that says

    $url = 'http://search.twitter.com/search.json?q='.urlencode($_POST['searchterm']).'&rpp=3&lang=en;

    change the countrycode in the countrycode of you choice. Example (nl):

    $url = 'http://search.twitter.com/search.json?q='.urlencode($_POST['searchterm']).'&rpp=3&lang=nl;

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 7 years ago by buzink
  • This topic is not a support question
  • WordPress version: 2.7