WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am looking to import Tweets with certain hashtags and came across this great response and coding in the link below. My question is how to just get posts from one particular twitter user and will the code in the link below be customized for multiple hashtags. If someone can offer advise on where to modify the coding to add to functions.php with the specific user url would be much appreciated. I familiar with php and wordpress but still learning all the details. Thanks again!!


Importing Tweets with certain hashtags into Wordpress

share|improve this question

The request to Twitter API in that code is formulated as URL. It is easy enough to modify it.

Then put resulting query in request. Use http_build_query() or related functions to encode spaces and such properly.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.