Forums Index > Mewsoft > Official Announcements > Webawy update. New Twitter API Widget
mewsoft First Post Posted on: 09-19-17 07:08 AM
Webawy update. New Twitter API Widget


Hello everyone,

Twitter ended their old API and their new API does not work with all JS code before. We have released this update to use their new API.

You can update the Frontpage.html template which will overwrite all your customizations or just change the following line:

Search the template Frontpage.html for the line like this:

[ widget::Tweets(usernames=" "mewsoft" ", count="3", avatar="48", refresh="60"):: ]

and replace it with the new code you will find it in the new Frontpage.html template in the latest zip or you can copy it from our demo:


<!--customization here: https://dev.twitter.com/docs/embedded-timelines data-chrome="nofooter noborders noheader noscrollbar ", data-theme=dark , light -->
<a class="twitter-timeline" href="https://twitter.com/twitterapi"
data-widget-id="350650481686765568"
data-chrome="nofooter noborders noheader noscrollbar transparent"
data-tweet-limit="3"
data-theme="light"
data-user-id=""
data-screen-name="mewsoft"
data-show-replies="true"
>Loading Tweets...</a>
<script>!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"wink;</script>
 


Thanks


Mewsoft Support
www.mewsoft.com

File