XF 1.4 twitter bbcode for ver 1.4.7

aussie

Member
I am still on 1.4.7 and it would be much appreciated if someone could please post the bbcode required for twitter?

cheers
 
for people who find this post here is the code for twitter AND instagram...

Media Site ID:
Code:
twitter

Site Title:
Code:
Twitter

Site URL:
Code:
https://twitter.com

Match URLs:
Code:
https://twitter.com/*/*/{$id}

Embed HTML:
Code:
<div align="center">
<script type="text/javascript">
function loadx(data) {
  document.write(data.html);
}
</script>
<script type="text/javascript" src="https://api.twitter.com/1/statuses/oembed.json?id={$id}&callback=loadx"></script>
<div class="twitter" onLoad="loadx().html"/>
</div>

-------------------------------------------------------------------------------------------------------------------------------
Media Site ID:
Code:
instagram

Site Title:
Code:
Instagram

Site URL:
Code:
https://www.instagram.com

Match URLs:
Code:
instagram.com/p/{$id}
instagr.am/p/{$id}

Embed HTML:
Code:
<iframe src="//instagram.com/p/{$id}/embed/" width="612" height="710" frameborder="0" scrolling="no" allowtransparency="true"></iframe>


for the record the only reason I haven't upgraded to the latest version is that I don't want to go through the whole process of importing over 1 million posts, AGAIN!👎
 
Last edited:
this works better for twitter...
👍
Embed HTML:
Code:
<iframe width="500" height="186" src="//s9e.github.io/iframe/twitter.min.html#{$id}" onload="var a=Math.random();window.addEventListener('message',function(b){if(b.data.id==a)style.height=b.data.height+'px'});contentWindow.postMessage('s9e:'+a,src.substr(0,src.indexOf('/',8)))" allowfullscreen="" frameborder="0" scrolling="no"></iframe>

and this works better for instagram...
(y)
Embed HTML:
Code:
<iframe data-s9e-mediaembed="instagram" allowfullscreen="" onload="var a=Math.random();window.addEventListener('message',function(b){if(b.data.id==a)style.height=b.data.height+'px'});contentWindow.postMessage('s9e:'+a,'https://s9e.github.io')" scrolling="no" src="https://s9e.github.io/iframe/instagram.min.html#{$id}" style="border:0;height:640px;max-height:99vh;max-width:640px;width:100%"></iframe>
 
Last edited:
Back
Top Bottom