Social Networking:Twitter Integration
From ExtractValue Wiki
Contents |
Overall
Objectives
- Create a user experience that allows for the browsing of select Twitter messages by taxonomy
- Enable syncing of Microblog posts from Centricity to Twitter
Definitions
- Tweet: a microblog post limited to a certain length
- bit.ly: a URL shortening service
- Domain specific keywords are characters or phrases specified by Admins to search for when pulling content from Twitter
- For example, at secretsoftraders.com the domain specific keywords are $ OR #secretsoftraders OR @secretsoftrader, @sot_stocks, etc.
Twitter Mashup
Objectives
- Create a user experience that allows for the browsing of select Twitter messages by taxonomy
- Ability to reply and retweet at Twitter
Targeted Consumer
- All Users, logged in or not
Criteria
- A page which lists the main taxonomical categories of Twitter messages that will be available.
- A unique SEO friendly URL for this page
- 5 – 10 categories on this page
- 5 – 10 tweets per category on this page
- New tweets are added as quickly as possible to give the affect of real time updates
- A link to “view more” for each category which goes to a dedicated category page
- A page which lists the sub-categories for a chosen category of tweets
- A unique SEO friendly URL for all pages of this type
- 5 – 10 sub-categories on this page
- 5 – 10 tweets per sub-category on this page
- New tweets are added as quickly as possible to give the affect of real time updates
- A link to “view more” for each sub-category which goes to a dedicated sub-category page
- A page which lists all tweets a for the chosen sub-category of content.
- A unique SEO friendly URL for all pages of this type
- Between 1 and 100 tweets on this page at any time
- New tweets are added as quickly as possible to give the affect of real time updates
- A method for determining which categories and sub-categories are show on the site.
- Can include twitter hash tags
- Can include ticker symbols
- Can include Tags or Channels
- Can include any word or symbol which can be used to select tweets
- Categories and sub-categories will be updated approximately once per month
- User interface for providing updated categories and sub-categories is not required
Twitter to Centricity
Displaying
- Display separate timelines for each of:
- Messages of following
- Messages of followers
- Display @%username% messages
- Display only messages that have domain specific keywords
Channels and tags
- Channels will have a list of Tags or Ticker Tags associates with it
- Aggregate the feed of Twitter posts with all of the tags and ticker tags in the channel
- When displaying sub-channels, aggregate Twitter posts that match the tags and ticker tags shared by the Channels that make up the sub-channel.
From Location
- "from location"
- if the post is from Twitter, display "from Twitter"
- if the post was sent to Twitter from Tweetdeck, and then sent to Centricity, still show "from Twitter"
- If you post on Centricity and then it is sent to Twitter, make sure not to duplicate the post when displaying
Unique URLs for each Twitter User
- Display Twitter posts of Twitter Users who have had a post appear on a Centricity network at domain/ t /%twitter_username%
Does this require caching Twitter usernames that have appeared in the Twitter mashups?
- DO NOT display Twitter Users who have not had a post appear on a Centricity network at domain/ t /%twitter_username%
- Display a "User does not exist" message at this URL
Unique URLs for each Post
- status post URL is at domain/ t /%username%/status/%microblog_post_id%
- Only display if post has one of our desired keywords such aa a ticker symbol
- for example, domain/austinmao/status/123456789
Rules
- If a User turns off Twitter syncing, do not delete previously synced Twitter posts
- Stop Twitter syncing if the Centricity User no longer exists
- Each domain needs a domain_twitter_name, which will be used on Twitter for any @domain_twitter_name posts
- for example: @secretsoftrader for http://twitter.com/secretsoftrader
- Channels may include their own Twitter usernames
- for example, domain/channels/stocks at secretsoftraders.com may have the Twitter username of sot_stocks
Twitter vs. Centricity users
- Ability to sync multiple Twitter accounts to one Centricity user
- If you go to domain/t/%twitter_username% and that Twitter user is synced to a Centricity user, forward to domain/%centricity_username%
Centricity to Twitter
Posting
- Truncate with "..." if the entire post is longer than 140 characters (including URLs)
- Post to Twitter with a http://bit.ly/123456 shortened URL linking back to their user page (not their individual status posting)
- Anytime there is a #tag or bit.ly link, gray out the appended text and subtract from the character count.
Replying
- Any reply posts from Centricity will be:
- pre-pended with @%twitter_username%
- pre-pended with @%domain_twitter_name%
- appended with #%hashtag% for each channel
- Example: "@yelenarules @secretsoftrader Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed eget ipsum a massa sollicitudin #stocks #construction"
Following
- If you are following a Twitter-only user, then:
- Send a message that says: "@%twitteruser% @%domain_twitter_name% I would like to follow you at www.%domain%.com. Click here to confirm: http://bit.ly/123456"
- for example: "@yelenarules @secretsoftrader I would like to follow you at www.secretsoftraders.com. Click here to confirm: http://bit.ly/123456"
- the bit.ly link should point to a Registration page
- Send a message that says: "@%twitteruser% @%domain_twitter_name% I would like to follow you at www.%domain%.com. Click here to confirm: http://bit.ly/123456"
Deleting
- If a micro-blog post is deleted on Centricity, then delete on Twitter
- If a User account is deleted on Centricity, then do not delete previously synced Twitter posts
