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


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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