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 » Tue Dec 27, 2016 5:55 pm

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 » Sun Jan 22, 2017 6:54 am

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: 899
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. » Sat Apr 08, 2017 4:02 am

@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 » Wed May 10, 2017 4:42 pm

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: 24
Joined: Thu Feb 15, 2007 2:07 pm

Re: Twitter bbcode - embed tweet for phpbb 3.0.12

Post by larryl9797 » Wed May 17, 2017 12:32 pm

Works great on 3.2!!!!! Easy to add this functionality!

User avatar
KevC
Support Team Member
Support Team Member
Posts: 68308
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 » Wed May 17, 2017 12:37 pm

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
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"

User avatar
larryl9797
Registered User
Posts: 24
Joined: Thu Feb 15, 2007 2:07 pm

Re: Twitter bbcode - embed tweet for phpbb 3.0.12

Post by larryl9797 » Wed May 24, 2017 6:40 pm

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 » Thu Feb 01, 2018 8:55 pm

Great. Thanks for this. Going to give it a go and will report back. :)

User avatar
</Solidjeuh>
Registered User
Posts: 1006
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> » Fri Feb 02, 2018 1:02 am


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

Re: Twitter bbcode - embed tweet for phpbb 3.0.12

Post by mattash » Fri May 18, 2018 11:45 pm

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: 426
Joined: Thu Jan 16, 2003 7:59 pm

Re: Twitter bbcode - embed tweet for phpbb 3.0.12

Post by mamba » Tue Sep 25, 2018 9:32 pm

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 3.2, PHP version 7, MySQL 5.5, Host: hostgator shared Linux, Style: Prosilver

User avatar
Hartenheer
Registered User
Posts: 660
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 » Wed Sep 26, 2018 8:18 am

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:


Image

Post Reply

Return to “Custom BBCode Development and Requests”

Who is online

Users browsing this forum: No registered users and 3 guests