Page 1 of 1

Twitter bbcode - embed tweet for phpbb 3.0.12

Posted: Tue Dec 27, 2016 5:55 pm
by vjmtz
I searched and tried several solutions and none of them work.

Can you give me the right twitter bbcode?

Re: Twitter bbcode - embed tweet for phpbb 3.0.12

Posted: Sun Jan 22, 2017 6:54 am
by JustinDW
This one is working for me:

BB Code

Code: Select all

[tweet]{SIMPLETEXT1}://twitter.com/{SIMPLETEXT2}/status/{IDENTIFIER}[/tweet]
HTML

Code: Select all

<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={IDENTIFIER}&callback=loadx"></script>
<div class='twitter' onLoad='loadx().html'/></div>
How To Use

Code: Select all

[tweet]https://twitter.com/username/status/45645656565[/tweet]

Re: Twitter bbcode - embed tweet for phpbb 3.0.12

Posted: Sat Apr 08, 2017 4:02 am
by M.O.B.
@JustinDW, seems to also work for phpBB 3.1.x :)

Re: Twitter bbcode - embed tweet for phpbb 3.0.12

Posted: Wed May 10, 2017 4:42 pm
by nametaken33
Just adding in for anyone who stumbles upon this thread like I did. This also still works for 3.2

Re: Twitter bbcode - embed tweet for phpbb 3.0.12

Posted: Wed May 17, 2017 12:32 pm
by larryl9797
Works great on 3.2!!!!! Easy to add this functionality!

Re: Twitter bbcode - embed tweet for phpbb 3.0.12

Posted: Wed May 17, 2017 12:37 pm
by KevC
larryl9797 wrote: Wed May 17, 2017 12:32 pm Works great on 3.2!!!!! Easy to add this functionality!
Easier still
viewtopic.php?f=456&t=2272431
Although it's a beta it seems to work fine and means you don't need BBcode for most popular media links, except images.

Re: Twitter bbcode - embed tweet for phpbb 3.0.12

Posted: Wed May 24, 2017 6:40 pm
by larryl9797
thx.. Ill give it a rip

Re: Twitter bbcode - embed tweet for phpbb 3.0.12

Posted: Thu Feb 01, 2018 8:55 pm
by MeowMiau
Great. Thanks for this. Going to give it a go and will report back. :)

Re: Twitter bbcode - embed tweet for phpbb 3.0.12

Posted: Fri Feb 02, 2018 1:02 am
by </Solidjeuh>

Re: Twitter bbcode - embed tweet for phpbb 3.0.12

Posted: Fri May 18, 2018 11:45 pm
by mattash
Hey just tried this and works great, anyway to make it a continues feed?

I want to create a topic (Mattash Twitter Feed)

Each time i send out a tweet its a automatic new post on my topic.

Re: Twitter bbcode - embed tweet for phpbb 3.0.12

Posted: Tue Sep 25, 2018 9:32 pm
by mamba
The BBCode in the second post of this thread no longer works. All previous uses are broken too .... anyone got an update that works?

Re: Twitter bbcode - embed tweet for phpbb 3.0.12

Posted: Wed Sep 26, 2018 8:18 am
by Hartenheer
I have been using them without problems for ages.
For all media messages.

https://github.com/s9e/phpbb-ext-mediaembed/