Announcement
Collapse
No announcement yet.
Tweet BBCode
Collapse
This is a sticky topic.
X
X
-
I dont understand why its copying tweet adresses as urls now. Im not doing anything different. I click on a tweet. Copy its address like i always have. And paste it in the tweed code. But they are copying as links now?
- Top
- Translate
- Bottom
-
When you right click and paste the url, paste it as plain text. If you copied the link from a web page and do a regular paste, the format where it's copied from is carried over and pasted to the editor. So make sure when the url is pasted, it doesn't turn into a hyperlink.
- Top
- Translate
- Bottom
Leave a comment:
-
Yeah so for some reason twitter links are now getting wrapped with URL bbcode and the tweets are not showing up. You have to go back in and edit out the [URL] code.
- Top
- Translate
- Bottom
Leave a comment:
-
Originally posted by glennrocksvb View PostThe tweet URL should be between (not in tweet=) the opening and closing tweet tags. Check the format in the first post closely.
- Top
- Translate
- Bottom
- Likes 1
Leave a comment:
-
Originally posted by Iamtdg View PostIt shows as [TWEET=https://twitter.com/caplannfl/status/1071804770380406785][/TWEET] and does not show the tweet. What did I do wrong?
- Top
- Translate
- Bottom
Leave a comment:
-
This is the code I put in...
Code:<div data-tweet-param="{param}"></div><script>(function(){function k(a,c){var d=Element.prototype;return(d.matches||d.webkitMatc hesSelector||d.mozMatchesSelector||d.msMatchesSele ctor||function(a){return-1!==[].indexOf.call(document.querySelectorAll(a),this)}) .call(a,c)}function g(a,c){return a?k(a,c)?a:"HTML"===a.tagName?null:g(a.parentNode, c):null}var b="{param}",a,e=document.getElementsByTagName("s cr ipt"),e=e[e.length-1],f;if(/^http[s]*:\/\//.test(b)){a=document.createElement("a");a.href=b;b =a.pathname.substring(a.pathname.lastIndexOf("/")+1)}f=e.parentNode.querySelector('[data-tweet-param="{param}"]:empty');(a=g(f,".js-post"))?a=a.getAttribute("data-node-id"):(a=g(f,".js-post-sm"),a=a?a.getAttribute("data-nodeid"):Math.floor(Math.random()*10000));a="t_"+( a||"")+"_"+b;window[a]=function(a){f.innerHTML=a.html;a=f.getElementsByT agName("script");for(var c,d=document.getElementsByTagName("head")[0],b=0;b<a.length;b++)a[b].src?(c=document.createElement("script"),c.src=a[b].src,d.appendChild(c)):eval(a[b].textContent)};var h=document.createElement("script");h.src="https://api.twitter.com/1/statuses/oembed.json?id="+b+decodeURIComponent("%26")+"call back="+a;e.parentNode.appendChild(h)})();</script>
Last edited by glennrocksvb; 12-10-2018, 10:53 AM.
- Top
- Translate
- Bottom
Leave a comment:
-
Originally posted by glennrocksvb View PostWrong format. Check the sample in the first post.
- Top
- Translate
- Bottom
Leave a comment:
-
Can you post the link where that bbcode was posted on your site?
- Top
- Translate
- Bottom
-
Thats a cool bbcode... Long time looking to embed twitter to my vb
- Top
- Translate
- Bottom
Leave a comment:
-
I wonder why in RTL the BBCode looks like this:
https://twitter.com/blah/blah[/TWEET][TWEET]
That doesn't look right. The Twitter URL should be in between the opening and closing tweet tags.
I would imagine, it should be like this in RTL:
[/TWEET]https://twitter.com/blah/blah[TWEET] or [TWEET]https://twitter.com/blah/blah[/TWEET]
- Top
- Translate
- Bottom
Leave a comment:
-
Well, you haven't shown me the correct format yet. Please show me all the formats you've tried.
- Top
- Translate
- Bottom
Leave a comment:
-
I tried all the formats
They all do not work.
Do you want to work as a member for you to try yourself?
- Top
- Translate
- Bottom
Leave a comment:
Users Viewing This Page
Collapse
There is 1 user viewing this forum topic.
- Guest
Latest Posts
Collapse
-
Reply to Quick Topic Moderationby darkboy245Interesting, so to implement this I would have to use the "success" and "nodeid" params? and then I need to check whether the user...Today, 10:15 AM
-
by darkboy245I'm trying to give moderators the option to quickly lock a thread & an option to change the topic's prefix while replying to a thread, this is without...04-28-2024, 10:11 AM
-
by matoseHi guys,
Just migrated to vB Cloud and found your forum searching for some customizations.
Nice to meet you!
m...Today, 01:25 AM
Leave a comment: