Home Page Icon
Home Page
Table of Contents for
V. The Part of Tens
Close
V. The Part of Tens
by Dusty Reagan
Twitter® Application Development for Dummies®
Copyright
About the Author
Author's Acknowledgments
Publisher's Acknowledgments
Introduction
About This Book
What You Don't Need to Read
Foolish Assumptions
How This Book Is Organized
Part I: Catching Up to Twitter and App Development
Part II: Ideation - Coming Up With An Idea
Part III: Creation - Developing Your Application
Part IV: Monetization - Making Money With Your Application
Part V: The Part of Tens
Icons Used in This Book
Where to Go from Here
I. Catching Up to Twitter and App Development
1. Catching Twitter's Coat Tails
1.1. Why Do People Tweet?
1.2. What Makes Twitter So Special?
1.2.1. Asymmetrical relationships
1.2.2. Follow and update using SMS
1.2.3. Trends and search
1.2.4. The open API
1.3. Why Should You Develop a Twitter App?
1.4. Turning Motivation into Action
2. Web Development Refresher Course
2.1. Writing HTML & CSS
2.1.1. HTML Elements
2.2. Styling Your HTML
2.2.1. The Box Model
2.2.1.1. Margin & Padding
2.2.1.2. Border
2.2.1.3. Height & Width
2.2.1.4. Font Styles
2.2.1.5. Floating
2.2.1.6. Display
2.2.1.7. Background Styles
2.3. Formatting in XML & JSON
2.4. The Basics of PHP
2.4.1. Conditional Statements
2.4.2. Loops
2.4.2.1. foreach
2.4.2.2. do-while
2.4.3. Functions
2.4.4. Arrays
2.4.5. cURL
2.4.6. PHP DOMDocument Class
2.4.7. PHP json_decode Function
2.5. Understanding MySQL
3. Setting Up to Create Twitter Apps
3.1. Create Your Developer Account
3.2. The Importance of Version Control
3.3. Hello Twitter!
II. Ideation — Coming Up with an Idea
4. Getting to Know the Twitter Application Ecosystem
4.1. Desktop Client
4.1.1. TweetDeck
4.1.2. Seesmic Desktop
4.1.3. Twitterrific
4.2. Mobile Clients
4.2.1. Tweetie
4.2.2. TweetDeck
4.2.3. Tiny Twitter
4.3. Web Applications
4.3.1. Customer relationship management (CRM)
4.3.1.1. HootSuite
4.3.1.2. CoTweet
4.3.2. Contact management
4.3.2.1. Friend Or Follow
4.3.2.2. Mr. Tweet
4.3.2.3. WeFollow
4.3.3. Statistics
4.3.3.1. TwitterCounter
4.3.3.2. TweetReach
4.3.3.3. TweetStats
4.3.3.4. Follow Cost
4.3.4. Media Sharing
4.3.4.1. TwitPic
4.3.4.2. SnapTweet
4.3.4.3. Blip.fm
4.3.5. Information aggregation
4.3.5.1. CheapTweet
4.3.5.2. ExecTweets
4.3.5.3. Tweeting Too Hard
4.3.5.4. Twistori
4.3.5.5. Hashtags.org
4.3.6. Information publishing
4.3.6.1. SecretTweet
4.3.6.2. Twitterfeed
4.3.7. Advertising
4.3.7.1. Featured Users
4.3.7.2. Magpie
4.3.7.3. Twittad
4.4. Twitter Bots
4.4.1. Twittercal (@gcal)
4.4.2. Remember The Milk (@rtm)
4.4.3. Tweetname (@tweetname)
4.5. Hardware
4.5.1. BakerTweet
4.5.2. Botanicalls Kit
4.5.3. Tweet-a-Watt
5. Introducing the Twitter API
5.1. Play Nice and Follow the Terms of Service
5.1.1. General Twitter Rules
5.1.2. Developer Etiquette
5.2. There Are Actually Two APIs
5.3. Twitter API Versioning
5.4. Rate Limits and How to Get White Listed
5.4.1. REST API Rate Limit
5.4.2. Search API Rate Limit
5.4.3. Getting Blacklisted
5.5. HTTP Response Status Codes and Errors
5.6. Defining the Payload
5.6.1. The User Object
5.6.2. The Status Object
5.7. Authentication
6. Logging In and Managing Your Account
6.1. Account Methods
6.1.1. Verify a user's credentials
6.1.1.1. Output
6.1.1.2. Input
6.1.1.3. Example
6.1.2. Check your rate limit
6.1.2.1. Output
6.1.2.2. Input
6.1.2.3. Example
6.1.3. End a user's session
6.1.3.1. Output
6.1.3.2. Input
6.1.3.3. Example
6.1.4. Updating a user's notification device
6.1.4.1. Output
6.1.4.2. Input
6.1.4.3. Example
6.1.5. Update a user's profile
6.1.5.1. Output
6.1.5.2. Input
6.1.5.3. Example
6.1.6. Update a user's profile colors
6.1.6.1. Output
6.1.6.2. Input
6.1.7. Update a user's profile picture
6.1.7.1. Output
6.1.7.2. Input
6.1.8. Update a user's background image
6.1.8.1. Output
6.1.8.2. Input
6.2. OAuth Methods
6.2.1. Log a user in with OAuth
6.2.2. Get an OAuth request token
6.2.2.1. Output
6.2.2.2. Input
6.2.2.3. Example
6.2.3. Get an OAuth access token
6.2.3.1. Output
6.2.3.2. Input
6.2.3.3. Example
7. Managing Users and Their Relationships
7.1. User Methods
7.1.1. Get the details of a user
7.1.1.1. Output
7.1.1.2. Input
7.1.1.3. Example
7.1.2. Get user details of your friends and followers
7.1.2.1. Output
7.1.2.2. Input
7.1.2.3. Example
7.2. Social Graph Methods
7.2.1. Get the user IDsof your friends and followers
7.2.1.1. Output
7.2.1.2. Input
7.2.1.3. Example
7.3. List Methods
7.3.1. Create a new list
7.3.1.1. Output
7.3.1.2. Input
7.3.1.3. Example
7.3.2. Update an existing list
7.3.2.1. Output
7.3.2.2. Input
7.3.2.3. Example
7.3.3. Get a user's lists
7.3.3.1. Output
7.3.3.2. Input
7.3.4. Get details on a specific list
7.3.4.1. Output
7.3.4.2. Input
7.3.5. Delete a list
7.3.5.1. Output
7.3.5.2. Input
7.3.5.3. Example
7.3.6. Get a list's timeline
7.3.6.1. Output
7.3.6.2. Input
7.3.6.3. Example
7.3.7. Get the lists a user belongs to
7.3.7.1. Output
7.3.7.2. Input
7.3.7.3. Example
7.3.8. Get the lists a user follows
7.3.8.1. Output
7.3.8.2. Input
7.3.8.3. Example
7.4. List Members Methods
7.4.1. Get a list's members
7.4.1.1. Output
7.4.1.2. Input
7.4.1.3. Example
7.4.2. Add a member to a list
7.4.2.1. Output
7.4.2.2. Input
7.4.2.3. Example
7.4.3. Remove a list member
7.4.3.1. Output
7.4.3.2. Input
7.4.3.3. Example
7.4.4. Test if user is a list member
7.4.4.1. Output
7.4.4.2. Input
7.4.4.3. Example
7.5. List Subscribers Methods
7.5.1. Get a list's subscribers
7.5.1.1. Output
7.5.1.2. Input
7.5.1.3. Example
7.5.2. Follow a list
7.5.2.1. Output
7.5.2.2. Input
7.5.2.3. Example
7.5.3. Stop following a list
7.5.3.1. Output
7.5.3.2. Input
7.5.3.3. Example
7.5.4. Test if user follows a list
7.5.4.1. Output
7.5.4.2. Input
7.5.4.3. Example
7.6. Friendship Methods
7.6.1. Follow a user
7.6.1.1. Output
7.6.1.2. Input
7.6.1.3. Example
7.6.2. Stop following a user
7.6.2.1. Output
7.6.2.2. Input
7.6.2.3. Example
7.6.3. Check if one user follows another user
7.6.3.1. Output
7.6.3.2. Input
7.6.3.3. Example
7.6.4. Get information about the relationship between two users
7.6.4.1. Output
7.6.4.2. Input
7.6.4.3. Example
7.7. Notification Methods
7.7.1. Follow a user to your phone
7.7.1.1. Output
7.7.1.2. Input
7.7.1.3. Example
7.7.2. Stop receiving notifications
7.7.2.1. Output
7.7.2.2. Input
7.7.2.3. Example
7.8. Block Methods
7.8.1. Block a user
7.8.1.1. Output
7.8.1.2. Input
7.8.1.3. Example
7.8.2. Unblock a user
7.8.2.1. Output
7.8.2.2. Input
7.8.2.3. Example
7.8.3. Check if a user is blocked
7.8.3.1. Output
7.8.3.2. Input
7.8.3.3. Example
7.8.4. Get a user details list of blocked users
7.8.4.1. Output
7.8.4.2. Input
7.8.4.3. Example
7.8.5. Retrieve a list of blocked users IDs
7.8.5.1. Output
7.8.5.2. Input
7.8.5.3. Example
7.9. Spam Reporting Method
7.9.1. How to report a Twitter account as spam
7.9.1.1. Output
7.9.1.2. Input
7.9.1.3. Example
8. Communication Through Tweets
8.1. Status Methods
8.1.1. Get the details of a specific tweet
8.1.1.1. Output
8.1.1.2. Input
8.1.1.3. Example
8.1.2. Create a new tweet
8.1.2.1. Output
8.1.2.2. Input
8.1.2.3. Example
8.1.3. Delete a tweet
8.1.3.1. Output
8.1.3.2. Input
8.1.3.3. Example
8.1.4. Retweet a tweet
8.1.4.1. Output
8.1.4.2. Input
8.1.4.3. Example
8.1.5. Retrieve retweets of a particular tweet
8.1.5.1. Output
8.1.5.2. Input
8.1.5.3. Example
8.2. Direct Messages Methods
8.2.1. Retrieve direct messages
8.2.1.1. Output
8.2.1.2. Input
8.2.1.3. Example
8.2.2. Send a direct message
8.2.2.1. Output
8.2.2.2. Input
8.2.2.3. Example
8.2.3. Delete a received direct message
8.2.3.1. Output
8.2.3.2. Input
8.2.3.3. Example
8.3. Timeline Methods
8.3.1. Get tweets from the public timeline
8.3.1.1. Output
8.3.1.2. Input
8.3.1.3. Example
8.3.2. Get your aggregated friends timeline
8.3.2.1. Output
8.3.2.2. Input
8.3.2.3. Example
8.3.3. Get a user's tweets
8.3.3.1. Output
8.3.3.2. Input
8.3.3.3. Example
8.3.4. Get tweets that mention your screen name
8.3.4.1. Output
8.3.4.2. Input
8.3.4.3. Example
8.3.5. Get status updates retweeted by you
8.3.5.1. Output
8.3.5.2. Input
8.3.5.3. Example
8.3.6. Get your friend's retweets
8.3.6.1. Output
8.3.6.2. Input
8.3.6.3. Example
8.3.7. Get the retweets of a specific tweet
8.3.7.1. Output
8.3.7.2. Input
8.3.7.3. Example
8.4. Favorite Methods
8.4.1. Retrieve a user's favorite tweets
8.4.1.1. Output
8.4.1.2. Input
8.4.1.3. Example
8.4.2. Add a tweet to your favorites
8.4.2.1. Output
8.4.2.2. Input
8.4.2.3. Example
8.4.3. Remove a tweet from your favorites
8.4.3.1. Output
8.4.3.2. Input
8.4.3.3. Example
8.5. Saved Searches Methods
8.5.1. Retrieve all your saved searches
8.5.1.1. Output
8.5.1.2. Input
8.5.1.3. Example
8.5.2. Get the details of a saved search
8.5.2.1. Output
8.5.2.2. Input
8.5.2.3. Example
8.5.3. Create a saved search
8.5.3.1. Output
8.5.3.2. Input
8.5.3.3. Example
8.5.4. Remove a saved search
8.5.4.1. Output
8.5.4.2. Input
8.5.4.3. Example
8.6. Search API Methods
8.6.1. How to search for tweets with the API
8.6.1.1. Output
8.6.1.2. Input
8.6.1.3. Example
8.6.2. Get the current trending topics
8.6.2.1. Output
8.6.2.2. Input
8.6.2.3. Example
8.6.3. Get the days trending topics
8.6.3.1. Output
8.6.3.2. Input
8.6.3.3. Example
8.6.4. Get the weeks trending topics
8.6.4.1. Output
8.6.4.2. Input
8.6.4.3. Example
9. Selecting an Idea
9.1. Imagining a Successful Twitter App
9.2. What Is Your Motivation?
9.2.1. Enjoyment
9.2.2. Make money
9.2.3. Filling a need
9.2.4. Make it better
9.2.5. Build your brand's reputation
9.2.6. Support a cause
9.3. Why Do People Use a Twitter App?
9.3.1. Solves a problem
9.3.2. It's entertaining
9.3.3. It's easy to use
9.3.4. They trust it
9.4. Do You Have the Skill and Resources to Build Your App?
9.5. Enough Jibber Jabber! Start Building!
III. Creation — Developing Your Application
10. Selecting Libraries, Design Patterns, and Frameworks
10.1. Twitter API Libraries Can Speed Up Development
10.2. Web Application Frameworks
10.3. Model View Control
11. Hosting In the Clouds
11.1. Types of Web Hosting Solutions
11.1.1. Shared web hosting
11.1.2. Dedicated web hosting
11.1.3. Cloud computing
11.2. Choosing a Hosting Provider
11.3. Setting Up Your Servers
11.3.1. Setting up Apache and PHP
11.3.1.1. Install Apache and PHP
11.3.1.2. Install mod_rewrite
11.3.2. Setting up your MySQL server
11.4. Uploading Files to Your Web Server
11.5. Setting Up Your Domain Name
12. Coding Your Application
12.1. Setting Up the Zend Framework
12.1.1. Create your project's initial directories
12.1.2. Install the Zend Framework
12.1.3. Bootstrapping your application
12.1.4. Create your .htaccess file
12.1.5. Create your index.php file
12.1.5.1. Step 1: Create a constant for your application directory path
12.1.5.2. Step 2: Define your environment
12.1.5.3. Step 3: Include the Zend Framework library files
12.1.5.4. Step 4: Load the bootstrap file
12.1.6. Create your bootstrap file
12.1.7. Create your config file
12.1.8. Create your layout template
12.1.9. Create your first view and controller
12.1.9.1. View
12.1.9.2. Controller
12.1.9.3. Give it a test
12.2. Setting Up Your Data Structure
12.2.1. Build the User table
12.2.2. Build the Tweet table
12.3. Create Your Data Models
12.3.1. Define your tables
12.3.2. Create the Tweet model
12.3.3. Create the User model
12.4. The Cron Jobs
12.4.1. 1. Creating your auto-follow script
12.4.1.1. Adding the missing methods
12.4.1.2. Back to the mission at hand
12.4.2. 2. Creating your Tweet monitor script
12.4.3. Schedule your Cron jobs
12.5. Creating the Scoreboard
12.5.1. Update your IndexController
12.5.2. Add your pagination template
12.5.3. Update your Index view
12.6. Release Early and Often
13. Making It Pretty Makes It Credible
13.1. Hire a Designer
13.2. PSD to XHTML
13.3. Integrating Your Design
14. What You Need to Know to Grow
14.1. Automating Acceptance Testing
14.2. Unit Testing
14.3. Continuous Integration
14.4. Performance Concerns
IV. Monetization — Making Money with Your Application
15. How Twitter Makes Money
15.1. Understanding Venture Capital
15.2. How to Fund Your Application
15.2.1. Self-funding
15.2.2. Outside investors
16. Advertising
16.1. Selecting a Traditional Ad Network
16.1.1. Pay Per Click (PPC)
16.1.2. Cost Per Thousand (CPM)
16.1.3. Pay Per Action (PPA)
16.1.4. Cost Per Time (CPT)
16.2. Going Vertical
16.2.1. The Magpie Network
16.2.2. The Featured Users Network
16.3. Do It Yourself
17. Monetizing with Other Models
17.1. Requesting Payment for Service
17.1.1. Ask for donations
17.1.2. Sell your software
17.1.3. Sell subscriptions
17.2. Selling Goods
17.2.1. Physical goods
17.2.2. Virtual goods
17.2.2.1. Games
17.2.2.2. Social networking
17.3. Building Your Business
17.3.1. Brand awareness
17.3.2. Be acquired
18. Promoting Your Application
18.1. Social Networking
18.1.1. Twitter strategy
18.1.2. Facebook strategy
18.1.3. Web site blog
18.1.4. Opt-in e-mail list
18.2. Go Viral
18.3. Public Relations Strategies
18.3.1. Network in your industry
18.3.2. Toot your own horn
18.3.3. Be authentic
18.4. Advertise
18.5. SEO
V. The Part of Tens
19. Ten Traits of a Respectable Twitter Developer
19.1. Ask Permission
19.2. Read the Documentation First
19.3. Stay Within Your Rate Limit
19.4. Don't Promote Mass Following
19.5. Be Cautious of Trademarks
19.6. Give Back
19.7. Cache Your Data
19.8. Use OAuth
19.9. Don't Be Evil
19.10. Communicate with Your Users
20. Ten Twitter API Tips
20.1. Develop Defensively
20.2. Degrade Gracefully
20.3. Don't Rely on screen_name
20.4. Use 64-Bit Integers
20.5. Subscribe to the Google Group
20.6. Access the API in the Background
20.7. Use JSON
20.8. Optimize Caching
20.9. Support International Characters
20.10. Do It Client Side
A. Twitter API Reference
A.1. Account Methods
A.1.1. account/verify_credentials
A.1.2. account/rate_limit_status
A.1.3. account/end_session
A.1.4. account/update_delivery_device
A.1.5. account/update_profile_colors
A.1.6. account/update_profile_image
A.1.7. account/update_profile_background_image
A.1.8. account/update_profile
A.2. Block Methods
A.2.1. blocks/blocking
A.2.2. blocks/blocking/ids
A.2.3. blocks/create
A.2.4. blocks/destroy
A.2.5. blocks/exists
A.3. Direct Message Methods
A.3.1. direct_messages
A.3.2. direct_messages/sent
A.3.3. direct_messages/new
A.3.4. direct_messages/destroy
A.4. Favorite Methods
A.4.1. favorites
A.4.2. favorites/create
A.4.3. favorites/destroy
A.5. Social Graph Methods
A.5.1. followers/ids
A.5.2. friends/ids
A.6. Friendship Methods
A.6.1. friendships/create
A.6.2. friendships/destroy
A.6.3. friendships/exists
A.6.4. friendships/show
A.7. Help Methods
A.7.1. help/test
A.8. Notification Methods
A.8.1. notifications/follow
A.8.2. notifications/leave
A.9. OAuth Methods
A.9.1. oauth/access_token
A.9.2. oath/authenticate
A.9.3. oauth/authorize
A.9.4. oauth/request_token
A.10. Saved Searches Methods
A.10.1. saved_searches
A.10.2. saved_searches/create
A.10.3. saved_searches/destroy
A.10.4. saved_searches/show
A.11. Search Methods
A.11.1. search
A.11.2. trends
A.11.3. trends/daily
A.11.4. trends/current
A.11.5. trends/weekly
A.12. Spam Reporting Methods
A.12.1. report_spam
A.13. Status Methods
A.13.1. statuses/destroy
A.13.2. statuses/followers
A.13.3. statuses/friends
A.13.4. statuses/friends_timeline
A.13.5. statuses/home_timeline
A.13.6. statuses/mentions
A.13.7. statuses/public_timeline
A.13.8. statuses/retweet
A.13.9. statuses/retweeted_by_me
A.13.10. statuses/retweetd_of_me
A.13.11. statuses/retweeted_to_me
A.13.12. statuses/retweets
A.13.13. statuses/show
A.13.14. statuses/update
A.13.15. statuses/user_timeline
A.14. User Methods
A.14.1. users/show
B. Gallery of Twitter Applications
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
18. Promoting Your Application
Next
Next Chapter
19. Ten Traits of a Respectable Twitter Developer
Part V. The Part of Tens
In this part . . .
Two great chapters. Two great lists. Too much!
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset