Twitter bbcode - embed tweet for phpbb 3.0.12

Get help developing custom BBCodes or request one.
Post Reply
vjmtz
Registered User
Posts: 7
Joined: Thu Dec 22, 2016 9:37 pm
Contact:

Twitter bbcode - embed tweet for phpbb 3.0.12

Post by vjmtz »

I searched and tried several solutions and none of them work.

Can you give me the right twitter bbcode?
JustinDW
Registered User
Posts: 1
Joined: Sun Jan 22, 2017 6:50 am

Re: Twitter bbcode - embed tweet for phpbb 3.0.12

Post 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]
User avatar
M.O.B.
Registered User
Posts: 944
Joined: Tue Jan 04, 2005 1:07 am
Location: San Diego CA USA
Contact:

Re: Twitter bbcode - embed tweet for phpbb 3.0.12

Post by M.O.B. »

@JustinDW, seems to also work for phpBB 3.1.x :)
Image
nametaken33
Registered User
Posts: 9
Joined: Thu Aug 23, 2012 9:39 pm

Re: Twitter bbcode - embed tweet for phpbb 3.0.12

Post by nametaken33 »

Just adding in for anyone who stumbles upon this thread like I did. This also still works for 3.2
User avatar
larryl9797
Registered User
Posts: 34
Joined: Thu Feb 15, 2007 2:07 pm

Re: Twitter bbcode - embed tweet for phpbb 3.0.12

Post by larryl9797 »

Works great on 3.2!!!!! Easy to add this functionality!
User avatar
KevC
Support Team Member
Support Team Member
Posts: 72341
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Twitter bbcode - embed tweet for phpbb 3.0.12

Post 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.
-:|:- Support Request Template -:|:-
Image
"Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb"
User avatar
larryl9797
Registered User
Posts: 34
Joined: Thu Feb 15, 2007 2:07 pm

Re: Twitter bbcode - embed tweet for phpbb 3.0.12

Post by larryl9797 »

thx.. Ill give it a rip
MeowMiau
Registered User
Posts: 6
Joined: Thu Feb 01, 2018 8:46 pm

Re: Twitter bbcode - embed tweet for phpbb 3.0.12

Post by MeowMiau »

Great. Thanks for this. Going to give it a go and will report back. :)
User avatar
</Solidjeuh>
Registered User
Posts: 1788
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: Twitter bbcode - embed tweet for phpbb 3.0.12

Post by </Solidjeuh> »

mattash
Registered User
Posts: 140
Joined: Thu Nov 11, 2004 6:33 am

Re: Twitter bbcode - embed tweet for phpbb 3.0.12

Post 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.
User avatar
mamba
Registered User
Posts: 603
Joined: Thu Jan 16, 2003 7:59 pm
Location: Australia

Re: Twitter bbcode - embed tweet for phpbb 3.0.12

Post 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?
Using latest version of PHPBB
User avatar
Hartenheer
Registered User
Posts: 780
Joined: Fri Jan 23, 2015 12:23 pm
Location: The Netherlands
Name: Willem Hartman
Contact:

Re: Twitter bbcode - embed tweet for phpbb 3.0.12

Post by Hartenheer »

I have been using them without problems for ages.
For all media messages.

https://github.com/s9e/phpbb-ext-mediaembed/
Sorry English is not my native language :oops:
regards: Willem

https://bierfijnproevers.nl/bierforum
Post Reply

Return to “Custom BBCode Development and Requests”