We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

EE Twitter Search

Development and Programming

vacquah's avatar
vacquah
355 posts
16 years ago
vacquah's avatar vacquah

Does anyone have tips on how to integrate this with ajax and have it refresh like it does on the download page?

       
DEA's avatar
DEA
257 posts
16 years ago
DEA's avatar DEA

Mine stopped working some weeks ago as well. I suspect twitter changed their API and the plugin hasn’t been updated to accommodate.

       
eyevariety's avatar
eyevariety
158 posts
16 years ago
eyevariety's avatar eyevariety

Awesome plugin Lumis. I have been using it without problem for a few weeks- but today it has been blank all day.
Is there anyway the plugin could cache if it is at API limit or cant get more results for any reason?
Also- is there a way to push the limit beyond 100?

Thanks, David

       
richhayler's avatar
richhayler
53 posts
about 16 years ago
richhayler's avatar richhayler

Thx Lumis - awesome plugin!!

I am trying to pass in

{exp:search:keywords}

as a twitter search parameter for

{exp:twitter_search:find q="{exp:search:keywords}"}

but it’s not working for me - is this supported? Could you suggest another way to do this.

I would like to give my site’s visitors results from both my site and twitter for their searches.

Thanks

       
richhayler's avatar
richhayler
53 posts
about 16 years ago
richhayler's avatar richhayler
Thx Lumis - awesome plugin!! I am trying to pass in
{exp:search:keywords}
as a twitter search parameter for
{exp:twitter_search:find q="{exp:search:keywords}"}
but it’s not working for me - is this supported? Could you suggest another way to do this. I would like to give my site’s visitors results from both my site and twitter for their searches. Thanks

Done it

{embed="my_embedded_twitter_search_template" twitter_search_tags="{exp:search:keywords}"}

just used an embedded template and parsed in the search keywords as an embedded variable.

       
leemcalilly's avatar
leemcalilly
97 posts
15 years ago
leemcalilly's avatar leemcalilly

Hey this plugin is freaking awesome. Thanks!

I’m having trouble getting the if no_results conditional to work though. Is there something wrong with my code?

{exp:twitter_search:find phrase="{twitter-rss}" rpp="7" convert_url="yes" cache="yes" refresh="5" word_censoring="off"}
                            <div class="tweet">
                                {profile_image_url}
                                {text}
                                from {from_user} — {relative_date} ago
                            </div>
                            {if no_results}Sorry, there's no noise about this band on Twitter! {/if}
                            
                            {/exp:twitter_search:find}
       
Dabbledoo's avatar
Dabbledoo
172 posts
15 years ago
Dabbledoo's avatar Dabbledoo

We too are having the same issue. from:dabbledoo does not return anything q=”from:dabbledoo”

thanks!

       
Ryan M.'s avatar
Ryan M.
1,511 posts
15 years ago
Ryan M.'s avatar Ryan M.

When Twitter Search is installed, has anyone run into this PHP notice:

Notice: Undefined property: stdClass::$results in /…/system/plugins/pi.twitter_search.php on line 67

The plugin shouldn’t even be called when this error pops up. The plugin code is on the template, but should only fire is segment_2 has something in it.

       
Dabbledoo's avatar
Dabbledoo
172 posts
15 years ago
Dabbledoo's avatar Dabbledoo

Hey Ryan -

Yes, I got that on a client’s site yesterday. I would imagine it is checking on every page load if the cache has expired. When I was getting this error, I did the same search on Twitter and it looked like the search was performing as expected. I’m wondering if it has something to do with Twitter’s Search API call limit - since they limit by IP. Not sure though.

If you or anyone figures something out, please let us know!

Thanks,

Doug

       
Dabbledoo's avatar
Dabbledoo
172 posts
15 years ago
Dabbledoo's avatar Dabbledoo

Side note: I feel as though maybe when the plugin / twitter throw errors, it should not invalidate the locally cached entries. That way if it cannot connect or does not receive any results back from Twitter, it will not break the site.

       
Ryan M.'s avatar
Ryan M.
1,511 posts
15 years ago
Ryan M.'s avatar Ryan M.

I just added an “@” to the beginning of line 67 I can’t have that error showing on the client site. Seems to work.

@$this->eventdata = $this->jsondata->results;
       
eeart's avatar
eeart
257 posts
15 years ago
eeart's avatar eeart
We too are having the same issue. from:dabbledoo does not return anything q=”from:dabbledoo”

I’m having the same problem. Sometimes when doing a from:username search I get nothing back. Then a half hour later it’ll work again. Does anyone know what is causing this?

Also, how can I display something if there were no results? I tried total_results but it didn’t work.

Thanks.

       
Ryan M.'s avatar
Ryan M.
1,511 posts
15 years ago
Ryan M.'s avatar Ryan M.

There is no {total_results} in this plugin. Nor is there currently a {count}. It really could use both.

       
eeart's avatar
eeart
257 posts
15 years ago
eeart's avatar eeart
There is no {total_results} in this plugin. Nor is there currently a {count}. It really could use both.

I agree, that would be nice. Especially if sometimes it doesn’t give any results (because Twitter API is down perhaps?) I’d like to display a message.

       
Dabbledoo's avatar
Dabbledoo
172 posts
15 years ago
Dabbledoo's avatar Dabbledoo

I’m pretty convinced the error has something to do with Twitter limiting (throttling) the number of requests we hit them with. The only thing is I had it installed on a low-traffic site that couldn’t possibly have been going over Twitters limit. You guys wouldn’t by chance be using EngineHosting for your projects, could you? If so, then maybe our requests are hitting Twitter’s search API from the same IP… (now I’m just making up conspiracy theories).

Anyways, I ditched the Twitter Search plugin and went with Twitter Timeline instead. All I had to do was display entries from 3 accounts, so I just created a new account, followed those 3 accounts, and hooked Twitter Timeline up to that new account. Creative - I know. 😊

       
1 2 3 4 5

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.