Sign in to follow this  
Followers 0

suggestion Embed tweets?

14 posts in this topic

Posted

I just stumbled upon the "Embed this Tweet" link on Twitter when you view individual tweets. There's options of HTML, a direct link, and what they call "Shortcode", which looks to be in the same format as BBCode, which is what's used here on Neowin...

[code][tweet https://twitter.com/Maffewgregg/status/236892620109008896][/code]

So I'm just wondering would it be possible to add the ability to embed individual tweets into forum posts?


EDIT: For reference, this is what the embedded tweets look like: [url="http://bleacherreport.com/articles/1287567-wwe-news-jtg-goes-on-twitter-tirade-about-current-locker-room-politics"]http://bleacherreport.com/articles/1287567-wwe-news-jtg-goes-on-twitter-tirade-about-current-locker-room-politics[/url]


[i]I did search the forum before posting this, and there were no results, so if this has actually been suggested before, I apologise. :)[/i]

Share this post


Link to post
Share on other sites

Posted

For the love of God, no. Twitter is getting so bloody annoying these days. Don't people have something better to do with their time?
2 people like this

Share this post


Link to post
Share on other sites

Posted

There doesn't seem to be a BBCode replacement that I can find anywhere, so :p

Share this post


Link to post
Share on other sites

Posted

One of our own members helped with this :D http://www.neowin.net/forum/topic/1099793-php-snippet-twitter-info-and-last-10-status/

[tweet]https://twitter.com/NeowinSteve/statuses/237116811357859841[/tweet]

To use:

[code][tweet]https://twitter.com/NeowinSteve/statuses/237116811357859841[/tweet][/code]

I'll see if I can add a button to the forum editor as well, it's also being added to news. (We can already embed html in news, but it breaks on edit).

To see the tweet you must refresh the page after adding it in (own post) due to fast reply restriction, I'll see if there's a way around this.
3 people like this

Share this post


Link to post
Share on other sites

Posted

This is a great idea. Thanks for pointing it out, MightyJordan! I'm happy to see it's already possible.
1 person likes this

Share this post


Link to post
Share on other sites

Posted

[tweet]https://twitter.com/NeowinSteve/statuses/237116811357859841[/tweet]

K it's now added to the Editor, select the t button (next to quote) in the editor toolbar and the option "Tweet" or just use the tags (which is quicker).

Share this post


Link to post
Share on other sites

Posted

[img]http://localhostr.com/file/2p2y1ZHtq70K/Screen-Shot-2012-08-20-at-13.47.40.png[/img]

Great feature that. It turns a link to Twitter into a different link.

Share this post


Link to post
Share on other sites

Posted

You probably need to ctrl+f5 and if you block 3rd party scripts, it wont work, what I see

[attachment=317351:SNAG-0000.png]

Share this post


Link to post
Share on other sites

Posted

Works for me (using Chrome 22dev):

[img]http://localhostr.com/files/FUfau1u/capture.png[/img]

Share this post


Link to post
Share on other sites

Posted

[quote name='what' timestamp='1345466910' post='595106619']
[img]http://localhostr.com/file/2p2y1ZHtq70K/Screen-Shot-2012-08-20-at-13.47.40.png[/img]

Great feature that. It turns a link to Twitter into a different link.
[/quote]

I see what you mean, the id method is better, because then proper links to tweets get preserved. OK.. will change it back.

Edit: nm proper links don't get changed if they aren't wrapped in the tweet tags. e.g. https://twitter.com/NeowinSteve/statuses/237116811357859841

Share this post


Link to post
Share on other sites

Posted

[quote name='Neobond' timestamp='1345467082' post='595106623']
You probably need to ctrl+f5 and [b]if you block 3rd party scripts, it wont work[/b], what I see

[attachment=317351:SNAG-0000.png]
[/quote]
Yeah, Shellfish blocks it, and I've just see how many social network buttons you have on these forums now. That'll be staying on, then.

Share this post


Link to post
Share on other sites

Posted

Glad i could help

it looks good too :)
1 person likes this

Share this post


Link to post
Share on other sites

Posted

[quote name='what' timestamp='1345467320' post='595106633']
Yeah, Shellfish blocks it, and I've just see how many social network buttons you have on these forums now. That'll be staying on, then.
[/quote]

Well at least it renders the URL properly for people that disable Javascript ;)

Share this post


Link to post
Share on other sites

Posted

Thanks for that, Neobond! :D

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.