That code seems to work fine for me when I drop it into a .html file and test it on my local web server. Your test/widget.php link leads to a File Not Found. If you got this working, please reply to your question here with info.
We have a web page builder app that used the old Twitter Widget website to generate HTML (e.g. with “new TWTR” in it), then scrape that HTML for the width, height, text colour and other useful information. The new generated code for a widget is very different and does not expose any of these useful pieces of info. The only solid piece of info is the widget id, i.e.
Tweets by @twitter
I have read Overview | Docs | Twitter Developer Platform where is shows how you can override the settings stored on the twitter servers, but our users won’t be doing that, we need to read the settings from twitter e.g. the theme used and height of the widget.
Where should we look for how to extract information about this widget? Is it exposed via the API anywhere?
Hi Ben, I have 4 websites that showed our last 10 tweets, but now they don’t so I have to get this OAth thing working (I’m clearly an expert!
) I have keys and tokens (made via Twitter website), but now I’m stuck. I have read many threads and visited several websites, but after 4 hours of reading “Chinese” I give up. Could you tell me with which code that includes all necessary tokens/keys can I replace this existing code:
episod
#164
It sounds like [node:10248] is the best fit for you – using the API directly, you’re not going to find a simple script to replace this functionality – Embedded Timelines is closest to what you’re looking for.
Thank you Taylor, if I use embedded timelines, will I be able to style them to my liking in css like I was able to do when using the script?