Talk:Twitter Search

Width and height
Two parameters for changing width and height can be added like this:

width: , height: ,

Regards. Emijrp 05:04, February 19, 2011 (MST)


 * here you go --Sergey Chernyshev 18:26, February 19, 2011 (MST)

alignment
I try to get two twitter widgets next to each other, (one twitter search, one twitter User). Is this possible? What code should I use. Would be wonderfull if someone could help me Thanx!  Tom Kronenburg


 * try including both of them in
 * and then below add
 * like so


 * add some margins if needed --Sergey Chernyshev 08:03, March 14, 2011 (MDT)

Twitter Search Widget Not Working
Hello: I've had the Twitter Search Widget installed on my site at www.alecexposed.org for the last 2 years. Suddenly, today, the search widget stopped working. Any idea what might be the cause? --Patricia Barden (Contributions • Message) 21:12, June 6, 2013 (AST)

temp fix post api1.1
I have come up with an intern fix for this widget until someone more talented than me can come up with something better. First I change the Widget:Twitter Search page in my wiki to the following:  Tweets about ""  !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");

From here embedding a twitter search into a page is a 2 step process:

1.you must first go to twitter and create the widget in there site. It can be done here:. Once the widget has been created it will produce some code that looks something like this: Tweets about "#gc2020" !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");

The two important pieces of information here are the href and the data-widget-id.

2.next you insert the following mediawiki code into your page:

where the url is a reference to the href attribute and id is a reference to the data-widget-id.

Saving the page should present you with the Twitter Search widget as you configured it in Twitter. I've noticed it does not always appear right away and I believe this to be due to the scripts being cashed on the network or the machine, at any rate give it a bit of time to show up the first time.

Hope this helps someone --Troy.Lawson (Contributions • Message) 15:56, June 24, 2013 (AST)