[Free] SMF 2.0.8 embedding posts from Instagram, Tumblr etc.

Started by Rain Forest, April 23, 2015, 10:16:59 AM

Previous topic - Next topic

Rain Forest

Subject: [Free] SMF 2.0.8 embedding posts from Instagram, Tumblr etc.

Version
for 2.0.8 and/or higher

Description
I was looking for this kind of mod but I haven't seen it here as I have looked so far. I am looking for a BBCode solution to embedding posts from Instagram and Tumblr (in particular). Many would say: 'just copy the img link and post it within the img-bbcode', but it's not just about the image, also the description and comments on that posts on IG and Tumblr.
The Tweet Embed (Auto-Embed) is a great example as I would like to see it for IG and Tumblr.

Feature Set & Permissions
Adding the instagram link withing the IG bb-code. E.g. [instagram]http://instagram.com/p/xRhTKoJ_MX[/istagram] OR [instagram]xRhTKoJ_MX/[/instagram] (as it was shown at the Tweet Embed (Auto-Embed)) would do just fine! And the same style for Tumblr ofcourse..
No permissions: everyone on the forums can use the [instagram][/instagram] or  [tumblr][/tumblr] code.. :)

So you would get something like:


*This Embed BBCode isn't working with IG and Tumblr.*

gamesmad

I put one together for Instagram for you.

Usage is very simple, it will accept the following format -

[instagram]http://instagram.com/p/1lXfEQn6zL/[/instagram]

You can use http://, https://, or omit that part completely.  You can either include the last forward slash (/) or not.

I'll have a look at doing one for Tumblr later.
1 on 1 SMF Help - Want 1 on 1 SMF Help? Post in Help Wanted or drop me a message!

Go Charter! - Please consider becoming a charter member to support SMF development.

Please do not PM me with general questions, posting in the appropriate board will ensure everyone benefits from the advice given.

Rain Forest


Rain Forest



gorbi


dougiefresh

Quote from: Rain Forest on April 24, 2015, 12:36:23 PM
is that code btw also valid for Facebook posts?
No, the embed code returned by Facebook is quite complex, and for security reasons, it would have to be parsed in order to securely displayed by the user.  Otherwise, a malicious person could introduce fowl code into the forum without anybody realizing it, and of course, we don't want that...

Tumblr looks to be a bit different from Instagram and likewise will require some processing before the content can be displayed.

I will be working on a mod for both of these, in case anybody is interested....

dougiefresh

I found a different way to display the Facebook posts in the forum.  My Facebook BBCode mod is available for download at my website...

Still trying to find an easy way to display the Tumblr stuff....  The Tumblr API I found is kind of a ****** to work with....  Hoping to fiind a different one, like a Javascript API similar to Facebook and Instagram, to work with....

dougiefresh

My Embed Tumblr BBCode was submitted mod about two weeks ago.  It's available at my website using the previously mentioned link....  Hope this helps!

Advertisement: