Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search
Joe Biden You are in the Biden 2020 Group. Only members who have selected Joe Biden as their preferred Democratic presidential candidate are permitted to post in this Group.
2 replies = new reply since forum marked as read
Highlight: NoneDon't highlight anything 5 newestHighlight 5 most recent replies
How do I copy a tweet to post it without picking up all this code around it so you don't have to (Original Post) emmaverybo Feb 2020 OP
Let's look at an example. Sloumeau Feb 2020 #1
Thank you so. That's what I needed, what parts of code to copy! I appreciate lots. emmaverybo Feb 2020 #2

Sloumeau

(2,657 posts)
1. Let's look at an example.
Fri Feb 14, 2020, 11:05 PM
Feb 2020

I went to Google.com and I did a search on: trump twitter

That gave me the following page:

[link:https://www.google.com/search?client=firefox-b-1-d&q=trump+twitter|]

Then I clicked on the words in the first Trump tweet that showed up, and it took me to Trump's twitter page and showed that tweet on the page.

Now, on that first tweet, there is a little down arrow on the top right of the tweet. It gives me the option to "Embed Tweet". So, I left-click on "Embed Tweet" and I get this page:

[link:https://publish.twitter.com/?query=https%3A%2F%2Ftwitter.com%2FrealDonaldTrump%2Fstatus%2F1228463577335554049&widget=Tweet|]

Then I left click on the blue button that says "Copy Code", and that copies the tweet into an invisible buffer. Then I put my cursor below this line and hit CTRL-V to paste the code below:

<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Great honor, I think? Mark Zuckerberg recently stated that “Donald J. Trump is Number 1 on Facebook. Number 2 is Prime Minister Modi of India.” Actually, I am going to India in two weeks. Looking forward to it!</p>— Donald J. Trump (@realDonaldTrump) <a href="


?ref_src=twsrc%5Etfw">February 14, 2020</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

However, that puts in too much code. So, I just copy everything between the quote marks including the quote marks themselves starting with the https, grabbing just that and pasting it below:

"
"

However, that still gives me too much. So, I just remove everything from the ?ref on, but leaving the quote mark at the end, and I get this:

"
"

So, I learn that all I really need is just the stuff between the quotes, including the quotes themselves, but not the stuff from the "?ref" to the end.





Latest Discussions»Retired Forums»Biden 2020»How do I copy a tweet to ...