Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
01-16-2013, 06:38 PM #1
- Join Date
- Jan 2013
- Thanked 0 Times in 0 Posts
jQuery Twitter Live Search Query Plugin - incoming posts disappear/reappear
jQuery Twitter live search query feed plugin from http://www.dreamtemplate.com/dreamco...ion/tweet.html
Here is my implementation: http://rachellesays.com/twitter-try/tweet.html
Made it refresh every second, and commented out "Searching Twitter" text from tweet.html to get rid of weird jumps every time it refreshed.
However, whenever a new tweet comes in, it appears for a second or two, disappears, then reappears--doing this for three times or so almost like it's flashing.
I have a feeling the issue is in jquery.tweet.js when a new post is being appended/binded (if you look @ source code thru browser, lines 223-243, near the last third of the code).
ANY help on how to resolve this would be GREATLY APPRECIATED!!
01-17-2013, 12:37 AM #2
- Join Date
- Jun 2007
- Thanked 619 Times in 599 Posts
it's probably does to an older fetch arriving after the updated one.
http fetches are not done in order: some can take a while.
one second is way too little: the old ones can stack up, and twitter is going to turn you off after a few hours of war-hammering like your doing.
plus, i would be pissed if i realized your page sucks 500mb per day from my data plan; that's ridiculousness!
Last edited by rnd me; 01-17-2013 at 12:39 AM.Create, Share, and Debug HTML pages and snippets with a cool new web app I helped create: pagedemos.com