Add emoticons to twitter posts - twitter

I have a script that opens up a tweet window for my site users. It also allows me to write the tweets for them.
But I'm wondering - how do I add emoticons to these tweets? Is there a text shorthand, that will convert to twitter emoticons?

Most emojis have an unicode representation; just copy the emoji you want to insert from its emojipedia page and they should display correctly when visualized on Twitter.
http://emojipedia.org/

Related

iTextSharp parse section of document from page location to page location C#

Is it possible to use iTextSharp to parse text between bookmarks?
I have saved a Word doc as PDF, using option to create bookmarks from the Word bookmarks. So the PDF has the bookmarks, and using iTextSharp I can get the list of bookmarks by calling SimpleBookmark.GetBookmark(pdfReader). What I want to be able to do is parse out the text for a particular bookmark or bookmarks. Each bookmark has a "Page" tag that has the page number and an XYZ location... so I was assuming I would be able to parse from the start location of one bookmark, to the start location of the next bookmark. But any examples I find only parse page by page. I haven't found a way to do more specific parsing with iTextSharp.
Thanks in advance for any ideas.

How to create textbox on Google Site and send its value to a Spreadsheet

There is a google site. I need to add a text box and button, and a service (script) which can send a data of a textbox to a specified spreadsheet.
You could use a Google Form and Insert that into the site. This video shows how. The other option would be custom code, saved as a Web App and Inserted using an Include Gadget found under Insert->More Gadgets. For just 1 field, I would go with the Google Form.
You can create a script \Here], then make it extract a document, after that you allow the user to edit it through your site and only there then, add that to the search bar by editTaskbar in the embed section then well in the {} do this: s+2%[where you want it to go ex:(search)this adds it to the search bar]=docs.[name of document].name there you can make it add to a textbox that you added.
EX:
almost to limit of characters so go to scripts.google.com and Ctrl+V after googleing "how to extract and add a doc to a site in google sites" oh instead of doc do sheet. Forgot it was sheets Sorry.

Show tweets from people I'm following on website embedded Twitter feed

I've had a look at the following link - https://dev.twitter.com/docs/embedded-timelines within Twitter. It says you can display your timeline, favorites, lists but not the tweets from the people you're following.
Essentially when you first log into Twitter, I want to show those tweets - the tweets from people I'm following on my website.
Or is there a way to automatically add people we're following to a list? So I can then display that list?
Can it be done? If so, how?
I don't think you can achieve this with embedded timelines but you can achieve it by using the REST API. The link below gives details on how to do this. Your request will then return a json string of the latest tweets of people you follow. You can format this then display it
https://dev.twitter.com/docs/api/1.1/get/statuses/home_timeline

Twitter API #Anywhere: Include hash tag in tweet box?

I am using the Twitter API #Anywhere Tweet Box for a project I am working on. It is supposed to simply let people tweet a statement with a hash-tagged word included in the tweet. Now, I know there is the defaultContent function, but the problem is that the text is supposed to go in front of the hashtag, not after. If people start writing in the text box, the hashtag would be in front of the text (unless they specifically write it in front of the hashtag). Is there any way to "pre-include" a hashtag term, but not make it show up in the text box?
Any help is much appreciated!

How to add Twitter Expanded Tweets? (was: twitter media preview card for my site?)

I googled a lot about how to make twitter media preview for my website entities if they are linked in a tweet like images below:
Any idea where can I find some documentation about it? Or a tutorial? Is this possible or these media/site previews are hardcoded in twitter?
EDIT:
so, what I need:
If someone links my site on twitter, my widget appear under the tweet, like below:
UPDATE 2012-06-13
It appears this is an Expanded Tweet - -what the requirements are to integrate these expansions into Twitter are do not appear to be displayed - but this sure is interesting.
Nope your in luck. They're not hardcoded into Twitter, they're available in the JSON response. You actually have in your post the word you need to google for entities.
You can add include_entities=1 to the end of most REST api calls and it will give you expanded information about the URL's contained within the JSON. It will split out all the URL's where you can parse out the Youtube links for example. The JSON also includes a special media_url entity but it only works for pictures. In any case, you can still parse out the media easily like youtube with a regex match because you get the URL's split out nicely with this include_entities=1 parameter.
example call :
http://api.twitter.com/1/statuses/user_timeline.json?screen_name=twitterapi&include_entities=1
more documentation : https://dev.twitter.com/docs/tweet-entities
answer edited below based on clarification:
Editing Twitter itself with previews is impossible and it's also ineffective. 75% of traffic to Twitter happens outside of Twitter.com. However the most probable solution to achieving this request would be to download a browser extension.
This extension for example enbales previews of webpages directly in the users stream content preview pane on Twitter.com
https://chrome.google.com/webstore/detail/oijgblonhcagdhfbgjilnpjipmijimmn

Resources