Welcome to the HornSports Forum

By registering with us, you'll be able to discuss, share and private message with other members of our Texas Longhorns message board community.

SignUp Now!

Practice posting tweets

Most twitters have some kind of "select" that will capture a string of code for the tweet.

If you copy that code and examine it... you'll see a string of numerical digits.

JUST THAT string of digits goes into a single simple line of code as follows

I'll write the word "bracket" to represent the lower case keyboard bracket... [ ]

The code you'll be pulling out of the overall code (in case you get a ton of embed code) will look like this...

https://twitter.com/... name of the twitter account... /status/568874823423643648

Those trailing digits are all you need. Copy those and create this line of code:

"Left bracket" tweet='562024182993522688' "Right bracket"

In other words... [ <the word tweet> =' 012345..... n' ]

Note the single quote marks wrapping the string of digits.

When the code is written most correctly, there are no spaces in the whole thing.

I forgot what tweet this is but here it is in proper code which you cannot see, but it is those exact digits.

— Twitter API (@twitterapi) November 7, 2011








 
Last edited by a moderator:
nothing frustrates me than to try to post tweets on here and my stupid laptop wont do it..P.O.S :angry:

 
To post a tweet, all you have to do is click the link labeled "Details" on a tweet. When that page loads, there will be a string of digits in the tweet's address bar - like this: 

https://twitter.com/nickbyrne55/status/568970600833617920

To post this tweet, simply copy the numeric string then click the dark blue Twitter icon in the bottom row of the posting interface. When the dialog box pops up, it prompts you:

Enter your tweet id (for example: 454406948650115072)

Then right click and paste the numeric string you copied from the tweet into the dialog box. Click OK and voila...

— Twitter API (@twitterapi) November 7, 2011

!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");







 
Last edited by a moderator:
Back
Top Bottom