anyone want to test on their server in a couple of minutes before I post this?
and also thinking...should I post this as a single bbcode/addon , you need to do some screwy stuff to override the twitter js stuff and I am not ready to update the media pack
AgreeI would post it as a single addon. Easier that way
<blockquote class="twitter-tweet"><p>Tweet</p>— Twitter API (@user) <a href="https://twitter.com/{$id}/status/{$id}" data-datetime="date">date</a></blockquote><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
Hi guys
Think I've found a quick fix for this.
Seems you can't use a wildcard for the username in the URL match any more. That needs to be an $id
So...
Match URL's:
https://twitter.com/{$id}/status/{$id}
http://twitter.com/{$id}/status/{$id}
Embed HTML:
HTML:<blockquote class="twitter-tweet"><p>Tweet</p>— Twitter API (@user) <a href="https://twitter.com/{$id}/status/{$id}" data-datetime="date">date</a></blockquote><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
Seems to work for me.
I'm actually work and dont have FTP access here or I would help you out. Maybe later this evening if you still need itdoes someone have time to check out what I have...
.twitter-tweet {
background-color: #F5F5F5;
background-image: url("styles/MediaSites/tiny-timeline-bird.png");
background-position: right bottom;
background-repeat: no-repeat;
border-radius: 7px 7px 7px 7px;
box-shadow: 0 0 7px 0 #032A46, 0 0 2px 0 #2B485C;
padding: 0px ;
width: 400px;
}
When I replaced that in the template for my style, nothing changed. The border surrounding the box is still there. I don't really mind the box around it being there though, just thought I would let you know that. I pasted that exact line of code into the template.Code:.twitter-tweet { background-color: #F5F5F5; background-image: url("styles/MediaSites/tiny-timeline-bird.png"); background-position: right bottom; background-repeat: no-repeat; border-radius: 7px 7px 7px 7px; box-shadow: 0 0 7px 0 #032A46, 0 0 2px 0 #2B485C; padding: 0px ; width: 400px; }
.twitter-tweet {
background-color: #F5F5F5;
background-image: url("styles/MediaSites/tiny-timeline-bird.png");
background-position: right bottom;
background-repeat: no-repeat;
border-radius: 7px 7px 7px 7px;
border:none !important;
padding: 0px ;
width: 400px;
}
Weird. Installed this but doesn't seem to work.
Media Site ID: twitter
Site Title: Twitter
Site URL: https://twitter.com/
Match URLs: https://twitter.com/*/status/{$id}
http://twitter.com/*/status/{$id}
Embed HTML: <blockquote class="twitter-tweet"><p>Tweet</p>— Twitter API (@user) <a href="https://twitter.com/{$id}/status/{$id}" data-datetime="date">date</a></blockquote><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> </blockquote><script src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
Doesn't work for me.Current working solution;
We use essential cookies to make this site work, and optional cookies to enhance your experience.