Adding a Twitter Feed
PhilCorleyPhoto
Registered Users Posts: 107 Major grins
I am trying to add a twitter feed using the Twitter Publish template, but it doesn't seem to run the java script within the HTML block I have dropped on the page. The html is:-
<a class="twitter-timeline" data-theme="dark" data-link-color="#F5F8FA" href="https://twitter.com/PhilCorleyPhoto">Tweets by PhilCorleyPhoto</a> <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
Is this supported, or does SM not allow the java to run ?
Thanks
Phil
0
Comments
Javascript is not supported.
Musings & ramblings at https://denisegoldberg.blogspot.com
Ah well - thought as much; pity but can understand
While you can't add a feed using JavaScript, you can use the Custom entry in a Social Icons content block to add a link to your Twitter presence.
Musings & ramblings at https://denisegoldberg.blogspot.com
Thanks Denise; I will take a look at that
Phil
You will probably want to change the icon used for the Custom entry.
Here's a link to leftquark's page on changing it to the 500px icon (for the CSS) - http://www.aaronmphotography.com/Customizations/Sitewide/Add-500px-Icon.
And here's a link to a character map that pilotdave posted showing the icons and codes to be used in that customization - http://pilotdave.smugmug.com/Other/CharacterMap/n-jZXBK. I have no idea where this might be on smug's pages, and I assume it still is correct. I compared the 500px codes and icon, still match.
Ah, just found this - https://dgrin.com/discussion/256813/smugmug-icon-character-map/p1, links to a smugmug version of the character map at https://drive.google.com/file/d/15AR7ECiHq_n0GteE79gGNr5C4ixYgQY7iD-zAs5RWhWOTWC5Ny5e4_NZxHU8u8GJJtciI2rr_JSsWtjn/view.
Musings & ramblings at https://denisegoldberg.blogspot.com
Is this any different than using the Social Icons block and adding the Twitter name; not sure why we need to use custom entry?
Check the Twitter icon in my footer: http://philcorley.smugmug.com
Ah, when I looked through the social icons I apparently skipped over the Twitter entry.
You're right, it's the same, no need for the custom bit.
Your Twitter icon works.
Musings & ramblings at https://denisegoldberg.blogspot.com
Thanks Denise; appreciate the ongoing help