Closed (works as designed)
Project:
Twitter Pull
Version:
6.x-1.0
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Mar 2010 at 20:11 UTC
Updated:
3 Oct 2011 at 22:21 UTC
How can I pull a search-result, rather than tweets from a spesific user?
I wan't to show our readers all tweets that mention us, so I want to search for the phrase @journalisten
Can anyone pls help me with the proper php-code?
Comments
Comment #1
arithmetric commentedIn general, for the Twitter key in twitter_pull_render(), you can use a Twitter search query with operators as described here:
http://search.twitter.com/operators
The exception is that if the Twitter key starts with @, then it gets the tweets from that user instead of tweets mentioning that user.
A simple workaround to get tweets mentioning a user is to add a space before the @. For example, to get tweets mentioning @drupal, try:
To get tweets either using #drupal or mentioning @drupal, you could use:
Hope that helps!
Comment #2
espenmoe commentedI'm so sorry I missed your post on april 1th, but that entire day I spent in Disneyland Tokyo.
What can I say? Your answer is just fixing my issue 100%.
Thx a LOT!
Comment #3
espenmoe commentedCheck it out here:
http://beta.journalisten.no/node/32022
Pulls all tweets mentioning our account.
Comment #4
BenK commentedSubscribing... very handy info.