Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

Cheers!

Importing Tweets with certain hashtags into Wordpress

share|improve this question
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.