Skip to Content
Twitter® Application Development for Dummies®
book

Twitter® Application Development for Dummies®

by Dusty Reagan
March 2010
Beginner to intermediate
452 pages
7h 45m
English
For Dummies
Content preview from Twitter® Application Development for Dummies®

Chapter 6. Logging In and Managing Your Account

In This Chapter

  • Manage a user's account from the API

  • Logging in with OAuth methods

  • Working examples of the API in PHP

This chapter profiles methods for logging in and managing your account. This includes

  • Account methods

  • OAuth methods

You can use account management methods to do things like change your profile picture, update personal information, view your API rate limit, and so on. The details on the OAuth methods can help you roll your own OAuth login system.

Account Methods

Account methods are used to modify or view data pertaining to a particular Twitter profile. Profile data includes things such as your name, location, bio, Web page link, profile background, and profile colors. It also includes methods that verify the provided account credentials, check the profiles remaining rate limit, and end the users Twitter session.

Here are the Twitter account methods:

  • account/verify_credentials

  • account/rate_limit_status

  • account/end_session

  • account/update_delivery_device

  • account/update_profile

  • account/update_profile_colors

  • account/update_profile_image

  • account/update_profile_background_image

Verify a user's credentials

To verify a user's supplied Twitter credentials, authenticate and call the account/verify_credentials method.

Warning

This method presumes you are asking users for their Twitter credentials to carry out API calls on their behalf. This type of authentication is not necessary anymore, and Twitter recommends that you use OAuth to authenticate users. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

How to Develop a Great Digital Strategy

How to Develop a Great Digital Strategy

Jeanne W. Ross, Cynthia M. Beath, Ina M. Sebastian
The Hidden Cost of AI-Assisted Creativity

The Hidden Cost of AI-Assisted Creativity

Léonard Boussioux, Anil Doshi, Oliver Hauser, Kartik Hosanagar
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer

Publisher Resources

ISBN: 9780470568620Purchase book