Twitter widget timeline using script is not loading in webview



When we use to get the script for Twitter timeline and use it in Webview at mobile app, the script simply showing "Tweets by … " as a link instead of showing timeline.

Can anyone suggest what is missing here?


Are you using UIWebView or WKWebView? Is Javascript enabled?


I am using UIWebView. Javascript will be enabled by default for UIWebview. When we use the script generated using its working but not with the script generated using


Have you tried manually specifying https: on the front of the reference to widgets.js in the pasted code? Maybe the webview needs that for it to work.


Yes, if we add https: for widgets.js, its working. Why don’t we get the script generated with https: rather than we hardcode again manually to the script since most of the client applications required SSL based sites which were secured?