Skip to content
This repository was archived by the owner on Nov 7, 2022. It is now read-only.

Commit 39e5462

Browse files
Roberto Santalladghubble
authored andcommitted
Update links to twitter docs (#147)
* Previous links redirected to a mostly useless introduction page
1 parent dc9b508 commit 39e5462

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

twitter/entities.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package twitter
22

33
// Entities represent metadata and context info parsed from Twitter components.
4-
// https://dev.twitter.com/overview/api/entities
4+
// https://developer.twitter.com/en/docs/tweets/data-dictionary/overview/entities-object
55
// TODO: symbols
66
type Entities struct {
77
Hashtags []HashtagEntity `json:"hashtags"`
@@ -48,14 +48,14 @@ type MentionEntity struct {
4848
}
4949

5050
// UserEntities contain Entities parsed from User url and description fields.
51-
// https://dev.twitter.com/overview/api/entities-in-twitter-objects#users
51+
// https://developer.twitter.com/en/docs/tweets/data-dictionary/overview/entities-object#mentions
5252
type UserEntities struct {
5353
URL Entities `json:"url"`
5454
Description Entities `json:"description"`
5555
}
5656

5757
// ExtendedEntity contains media information.
58-
// https://dev.twitter.com/overview/api/entities-in-twitter-objects#extended_entities
58+
// https://developer.twitter.com/en/docs/tweets/data-dictionary/overview/extended-entities-object
5959
type ExtendedEntity struct {
6060
Media []MediaEntity `json:"media"`
6161
}
@@ -74,7 +74,7 @@ func (i Indices) End() int {
7474
}
7575

7676
// MediaSizes contain the different size media that are available.
77-
// https://dev.twitter.com/overview/api/entities#obj-sizes
77+
// https://developer.twitter.com/en/docs/tweets/data-dictionary/overview/entities-object#media-size
7878
type MediaSizes struct {
7979
Thumb MediaSize `json:"thumb"`
8080
Large MediaSize `json:"large"`

0 commit comments

Comments
 (0)