Questions tagged [twitter-widget]

30 questions
4
votes
2 answers

Twitter widgets.js throws JavaScript error "Expected identifier" on IE8

Anybody run into a JavaScript error when trying to run Twitter For Web widgets.js on Internet Explorer 8 (IE8)? If so, do you know how to fix this or how to handle it gracefully? CODE Just adding this block of code, which loads the widgets.js file…
3
votes
2 answers

Reduce Twitter Widget's Minimum Height

I have been using twitter widget in my library management system. I want to reduce the twitter widget's ,minimum height since it's minimum height is not less than 250 px. I want it more smaller. How will I do that through css? This is the widget…
user2481398
2
votes
3 answers

Twitter widget on Angular 2

I created a Twitter widget and I'm trying to put it in my Angular 2 project, but the JS file does not work. If I insert it with JS (Here) it works, but when I switch to another tab and back (I have Angular Routing installed) it disappears and shows…
GTX
  • 727
  • 2
  • 13
  • 30
2
votes
1 answer

Twitter Widget Cordova Application Pop up

I am working on integrating twitter Widget in a tab of a Cordova application. I am using Cordova with Angularjs and ionic Framework. I have obtained the API key needed in order to instantiate the widget and after a few attempts I got it. I attach…
1
vote
1 answer

R twitterwidget package - tweet not cleared when shiny input is updated

Each time my input to renderTwitterwidget() is changed, a new tweet is printed underneath the original tweet on the Shiny UI. Is it possible to clear the old tweet and print a new one each time a new twitterwidget object is passed to…
1
vote
0 answers

Trying to style tweet with Twitter Widget and shadow DOM

I'm trying to style tweet and make a screenshot with html2canvas. I used Twitter Widget twttr.widgets.createTweet to render tweet and then got elements from shadow-root DOM. It worked perfectly in latest Chrome browser until some days ago. Now I…
TajMiller
  • 11
  • 1
1
vote
0 answers

Chrome Extension blocking twitter-widget local JS file

So i'm grabbing a tweet and having it sent to my extension which then uses that in a HTML popup. I seem to be having issue with the actual loading of the tweet design, I'm using http://platform.twitter.com/widgets.js has a local file since google…
1
vote
0 answers

Twitter Widget Getting Error: Script error. Url: https://platform.twitter.com/widgets.js Line Number: 0

I have integrated twitter timeline widget to pull feed on my site, and after using javascript function window.twttr.widgets.load(). I can see feeds but on scrolling i am getting below error in console: Error: Script error. Url:…
Ajay
  • 11
  • 2
1
vote
3 answers

embedded Twitter widget on Angular 2+ app only shows up on the first page load

My app works perfectly if I copy exactly the built-in function from Twitter docs (https://dev.twitter.com/web/javascript/loading) into ngAfterViewInit function, but when I switch the route, the widget disappears also. Here is the code to work only…
Hoàng Nguyễn
  • 1,121
  • 3
  • 33
  • 57
1
vote
2 answers

How to refresh or reload a single HTML element

Please help me to refresh a single html element after the initial page load. What my program should do in basic terms: (FreeCodeCamp exercise: Random Quote Machine) obtain random quote from API display quote and author button to obtain new…
JanPotgieter
  • 11
  • 1
  • 4
1
vote
1 answer

Twitter share button (widget) not working with jquery fadeout function in firefox

I'm using firefox 50.1.0 when I add fadeout or fadein jquery functions the twitter share button doesn't show up. The iframe is getting loaded but the button is not showing up. The button works fine in all browsers except FIREFOX. This my fiddle…
Manoj Kadolkar
  • 717
  • 8
  • 22
1
vote
0 answers

Twitter widget suddenly stopped working

I have some Tweets embedded on a page in my Angular app using Twitter's widgets.js. They have been working for quite some time. I noticed today that they suddenly stopped working. I've been trying to debug the issue, but I can't seem to get the…
Daniel Bonnell
  • 4,817
  • 9
  • 48
  • 88
1
vote
1 answer

Loading Twitter Widget inside Bootstrap Modal (Firefox)

I'm loading a Share Tweet button inside a Bootstrap Modal. This is working perfectly fine on Safari and Chrome but it's not on Firefox. https://jsfiddle.net/z4r41638/ This is the html:
Carlo S
  • 953
  • 1
  • 9
  • 14
1
vote
1 answer

Twitter widget width > 520px workaround

I need to somehow set the twitter widget to more than 520px width. Does anyone know a workaround for this? I think I had some workarounds working for a while but recently they have stopped working. The the problems are caused by the div inside the…
VOid
  • 85
  • 2
  • 13
1
vote
0 answers

How to create dynamic widget in twitter

I have a site to list movie and movie reviews. In every movie page I am planning to show a twitter widget that displays tweets for the movie name. Right now, I can only create a widget from widgets page and use it in my page. Is there a way to…
Prakash
  • 823
  • 12
  • 28
1
2