You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-12Lines changed: 17 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -248,7 +248,7 @@ The library returns the response HTTP status code, so you can detect rate limits
248
248
I suggest you to check if the ```$reply->httpstatus``` property is ```400```
249
249
and check with the Twitter API to find out if you are currently being
250
250
rate-limited.
251
-
See the [Rate Limiting FAQ](https://dev.twitter.com/rest/public/rate-limiting)
251
+
See the [Rate Limiting FAQ](https://developer.twitter.com/en/docs/basics/rate-limiting)
252
252
for more information.
253
253
254
254
Unless your return format is JSON, you will receive rate-limiting details
@@ -333,7 +333,7 @@ print_r($reply);
333
333
Here is a [sample Tweet](https://twitter.com/LarryMcTweet/status/475276535386365952)
334
334
sent with the code above.
335
335
336
-
More [documentation for uploading media](https://dev.twitter.com/rest/public/uploading-media) is available on the Twitter Developer site.
336
+
More [documentation for uploading media](https://developer.twitter.com/en/docs/media/upload-media/overview) is available on the Twitter Developer site.
**Find more information about [accepted video formats](https://dev.twitter.com/rest/public/uploading-media#videorecs) in the Twitter Developer docs.**
426
+
**Find more information about [accepted media formats](https://developer.twitter.com/en/docs/media/upload-media/uploading-media/media-best-practices) in the Twitter Developer docs.**
427
427
428
428
:warning: When uploading a video in multiple chunks, you may run into an error `The validation of media ids failed.` even though the `media_id` is correct. This is known. Please check back in the [Twitter community forums](https://twittercommunity.com/tags/video).
Collections are a type of timeline that you control and can be hand curated
497
501
and/or programmed using an API.
@@ -501,12 +505,13 @@ often they will be decomposed, efficient objects with information about users,
501
505
Tweets, and timelines grouped, simplified, and stripped of unnecessary repetition.
502
506
503
507
Never care about the OAuth signing specialities and the JSON POST body
504
-
for POST collections/entries/curate.json. Codebird takes off the work for you
508
+
for POST and PUT calls to these special APIs. Codebird takes off the work for you
505
509
and will always send the correct Content-Type automatically.
506
510
507
-
Find out more about the [Collections API](https://dev.twitter.com/rest/collections/about) in the Twitter API docs.
511
+
Find out more about the [Collections API](https://developer.twitter.com/en/docs/tweets/curate-a-collection/overview/about_collections) in the Twitter API docs.
512
+
More information on the [Direct Messages API](https://developer.twitter.com/en/docs/direct-messages/api-features) and the [Account Activity API](https://developer.twitter.com/en/docs/accounts-and-users/subscribe-account-activity/overview) is available there as well.
508
513
509
-
Here’s a sample for adding a Tweet using that API method:
514
+
Here’s a sample for adding a Tweet using the Collections API:
510
515
511
516
```php
512
517
$reply = $cb->collections_entries_curate([
@@ -522,7 +527,7 @@ var_dump($reply);
522
527
TON (Twitter Object Nest) API
523
528
-----------------------------
524
529
525
-
The [TON (Twitter Object Nest) API](https://dev.twitter.com/rest/ton) allows implementers to upload media and various assets to Twitter.
530
+
The [TON (Twitter Object Nest) API](https://developer.twitter.com/en/docs/ads/audiences/overview/ton-upload.html) allows implementers to upload media and various assets to Twitter.
526
531
The TON API supports non-resumable and resumable upload methods based on the size of the file.
527
532
For files less than 64MB, non-resumable may be used. For files greater than or equal to 64MB,
528
533
resumable must be used. Resumable uploads require chunk sizes of less than 64MB.
@@ -608,7 +613,7 @@ fclose($fp);
608
613
Twitter Ads API
609
614
---------------
610
615
611
-
The [Twitter Ads API](https://dev.twitter.com/ads/overview) allows partners to
616
+
The [Twitter Ads API](https://developer.twitter.com/en/docs/ads/general/overview) allows partners to
612
617
integrate with the Twitter advertising platform in their own advertising solutions.
613
618
Selected partners have the ability to create custom tools to manage and execute
0 commit comments