Skip to content

Commit

Permalink
Convert H3s to H4s for nicer GitHub Page styling
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Oct 16, 2012
1 parent ab1a38c commit 48a5674
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ wiki][apps]!

## What's new in version 4?

### Twitter API v1.1
#### Twitter API v1.1

Version 4 of this library targets Twitter API v1.1. To understand the
implications of this change, please read the following announcements from
Expand Down Expand Up @@ -79,7 +79,7 @@ discussion][discussion].
[user_timeline]: https://dev.twitter.com/docs/api/1.1/get/statuses/user_timeline
[discussion]: https://dev.twitter.com/discussions/10644

### Rate Limiting
#### Rate Limiting

Another consequence of Twitter API v1.1 is that the
`Twitter::Client#rate_limit` method has been removed, since the concept of a
Expand Down Expand Up @@ -107,7 +107,7 @@ rescue Twitter::Error::TooManyRequests => error
end
end
```
### Methods Missing
#### Methods Missing

As a consequence of moving to Twitter API v1.1, the following methods from
version 3 are no longer available in version 4:
Expand All @@ -128,15 +128,15 @@ version 3 are no longer available in version 4:
* `Twitter::Client#rate_limit`
* `Twitter::RateLimit#class`

### Custom Endpoints
#### Custom Endpoints

The `Twitter::API#update_with_media` method no longer uses the custom
`upload.twitter.com` endpoint, so `media_endpoint` configuration has been
removed. Likewise, the `Twitter::API#search` method no longer uses the custom
`search.twitter.com` endpoint, so `search_endpoint` configuration has also been
removed.

### Errors
#### Errors

It's worth mentioning new error classes:

Expand All @@ -151,7 +151,7 @@ library will raise `Twitter::Error::TooManyRequests` for all rate limit errors.
The `Twitter::Error::EnhanceYourCalm` class has been aliased to
`Twitter::Error::TooManyRequests`.

### Identity Map
#### Identity Map

In version 4, the identity map is [disabled by default][disabled]. If you want
to enable this feature, you can use the [default identity map][default] or
Expand Down Expand Up @@ -211,7 +211,7 @@ After configuration, requests can be made like so:
Twitter.update("I'm tweeting with @gem!")
```

### Thread Safety
#### Thread Safety

Applications that make requests on behalf of multiple Twitter users should
avoid using global configuration. In this case, you may still specify the
Expand Down Expand Up @@ -261,7 +261,7 @@ a `Twitter::Client`:

This may be useful if you're using multiple consumer key/secret pairs.

### Middleware
#### Middleware

The Faraday middleware stack is fully configurable and is exposed as a
`Faraday::Builder` object. You can modify the default middleware in-place:
Expand Down

0 comments on commit 48a5674

Please sign in to comment.