| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| [ C ] Embedding a tweet/instagram post | |
|---|---|
| Tweet Topic Started: Dec 23 2014, 05:18 PM (2,288 Views) | |
| slothly | Dec 23 2014, 05:18 PM Post #1 |
|
Member
![]() ![]() ![]()
|
Would it be possible to embed a tweet/instagram picture in a post? Here's what it would look like: Twitter: ![]() Instagram: ![]() The developers of twitter have a documentation on embedding tweets which might be useful: https://dev.twitter.com/web/embedded-tweets Likewise for instagram: http://blog.instagram.com/post/55095847329/introducing-instagram-web-embeds And would it also be possible to simply post the link to the tweet/instagram and have it automatically embedded in the post? Similar to Cory's code on automatically embedding youtube videos with no BBcode (http://support.zathyus.com/topic/5153430/) I think this would be a great addition for a forum so if anyone could help out here, it would be deeply appreciated. Thanks for your help guys. Edited by slothly, Dec 23 2014, 05:23 PM.
|
![]() |
|
| Kankuro | Dec 26 2014, 01:52 PM Post #2 |
|
かんくろ
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Your request doesn't seem likely to happen.. http://support.zathyus.com/topic/5171246/1/#new |
![]() |
|
| slothly | Dec 26 2014, 02:59 PM Post #3 |
|
Member
![]() ![]() ![]()
|
the twitter embed bbcode works until you quote it. ![]() when you quote this post, it looks like this: ![]() Any way to fix this? I'm using Cory's code in that thread. |
![]() |
|
| Kankuro | Dec 26 2014, 03:05 PM Post #4 |
|
かんくろ
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
That would be something Cory would have to do. I'm still learning coding lol. |
![]() |
|
| Cory | Dec 29 2014, 11:35 AM Post #5 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Change this:To this:
|
![]() |
|
| slothly | Dec 29 2014, 12:35 PM Post #6 |
|
Member
![]() ![]() ![]()
|
That code works, thank you. It no longer turns into html code when you quote/edit it. Is there a way to simply the BBcode syntax? right now its
I found out that I can add random characters to the name, date, and post area. The embedded tweet will still show up in the post if I supply the source link. so instead can it be:
Edited by slothly, Dec 29 2014, 12:36 PM.
|
![]() |
|
| Cory | Dec 29 2014, 11:43 PM Post #7 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Try this instead for that format:With the above code, you don't even need the ending Twitter tag. |
![]() |
|
| slothly | Dec 30 2014, 07:08 PM Post #8 |
|
Member
![]() ![]() ![]()
|
Thank you, the new syntax works and it's a lot easier embedding a tweet with this new twitter tag. The only problem is that the first embed tweet posted on the page breaks the rest of the posts with the twitter bbcode. If I post first with the embed tweet, it will show up but if someone else tries to embed another tweet in their post on the same page, only the bbcode syntax shows up. Is there a way to fix this? Sorry for the inconvenience, I really appreciate all your help |
![]() |
|
| Cory | Dec 31 2014, 12:00 AM Post #9 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
See what using just this does:
|
![]() |
|
| sneakyfreaky | Jan 1 2015, 02:52 PM Post #10 |
|
Member
![]() ![]() ![]() ![]()
|
I like this code alot and would love to have it for mine as well, Cory. However I'm not not sure if placed in the right box (Below the Board)? I tried it and I copied an embedded link from twitter and posted directly in a post on my test board and it just comes up as html coding. Am I missing a step? What am I doing wrong? Edited by sneakyfreaky, Jan 1 2015, 02:53 PM.
|
![]() |
|
| Cory | Jan 1 2015, 10:47 PM Post #11 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
You just need to use the direct URL of the status without 'https://twitter.com/' since that is added automatically. |
![]() |
|
| extraordinary | Jan 1 2015, 11:32 PM Post #12 |
|
Member
![]() ![]() ![]() ![]()
|
Where do we install this code? It'd come in major handy on my board, instead of screen capturing the tweets, etc. since I've tried installing all syntax and none of them are working. :-/
Edited by extraordinary, Jan 1 2015, 11:37 PM.
|
![]() |
|
| Cory | Jan 2 2015, 08:08 AM Post #13 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Here should be fine: Admin CP Themes Board Template Below the Board
|
![]() |
|
| extraordinary | Jan 2 2015, 11:17 PM Post #14 |
|
Member
![]() ![]() ![]() ![]()
|
I tried that, but it still doesn't work, no matter what BBC Code I use, etc. |
![]() |
|
| sneakyfreaky | Jan 3 2015, 03:28 PM Post #15 |
|
Member
![]() ![]() ![]() ![]()
|
Not sure what you mean, Cory. This is what is in the embedded box on twitter when I copy it. It doesn't work for me. It posts it as all html. This is an example of a tweet just to show you what it is I'm directly quoting and coping onto my test board. <blockquoteclass="twitter-tweet" lang="en"><p>Me when my days are just too long. <a href="https://t.co/LvbNOgBigs">https://t.co/LvbNOgBigs</a></p>— Cute Emergency (@CuteEmergency) <a href="https://twitter.com/CuteEmergency/status/551403700426534912">January 3, 2015</a></blockquote> <script asyncsrc="//platform.twitter.com/widgets.js" charset="utf-8"></script> ....do I have to do anything else? I just copy and pasted on my board without doing anything else. Do I have to wrap it in a BBCode? Or do I have to enable a button for this to work?? Edited by sneakyfreaky, Jan 3 2015, 03:32 PM.
|
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| Go to Next Page | |
| « Previous Topic · Closed Requests · Next Topic » |
| Track Topic · E-mail Topic |
8:31 PM Jul 10
|


![]](http://b1.ifrm.com/0/1/0/p601690/pipright.png)






Themes 
8:31 PM Jul 10