Thrift module: twitter

Module Services Data types Constants
twitter BoundingBox
HashTag
PlaceAttributes
TweetInfo
TwitterCoordinates
TwitterEntities
TwitterLatLong
TwitterPlace
TwitterUser
URL
UserMention

Data structures

Struct: TwitterUser

Key Field Type Description Requiredness Default value
1 id i64 optional
3 name string optional
4 screenName string optional
5 lang string optional
6 geoEnabled bool optional
7 createdAt string optional
8 friendsCount i32 optional
9 statusesCount i32 optional
10 verified bool optional
11 listedCount i32 optional
12 favouritesCount i32 optional
13 followersCount i32 optional
14 location string optional
15 timeZone string optional
16 description string optional
18 utcOffset i32 optional
19 url string optional

Information about a Twitter user.

Struct: TwitterLatLong

Key Field Type Description Requiredness Default value
1 latitude double optional
2 longitude double optional

A twitter geocoordinate.

Struct: BoundingBox

Key Field Type Description Requiredness Default value
1 type string optional
2 coordinateList list< TwitterLatLong > required

Struct: PlaceAttributes

Key Field Type Description Requiredness Default value
1 streetAddress string optional
2 region string optional
3 locality string optional

Struct: UserMention

Key Field Type Description Requiredness Default value
1 startOffset i32 optional
2 endOffset i32 optional
4 screenName string optional
5 name string optional
6 id i64 optional

Struct: URL

Key Field Type Description Requiredness Default value
1 startOffset i32 optional
2 endOffset i32 optional
3 expandedUrl string optional
4 url string optional
5 displayUrl string optional

Struct: HashTag

Key Field Type Description Requiredness Default value
1 text string optional
2 startOffset i32 optional
3 endOffset i32 optional

Struct: TwitterEntities

Key Field Type Description Requiredness Default value
1 hashtagList list< HashTag > optional
2 urlList list< URL > optional
3 userMentionList list< UserMention > optional

Struct: TwitterPlace

Key Field Type Description Requiredness Default value
1 placeType string optional
2 countryCode string optional
3 country string optional
4 fullName string optional
5 name string optional
6 id string optional
7 url string optional
8 boundingBox BoundingBox optional
9 attributes PlaceAttributes optional

Struct: TwitterCoordinates

Key Field Type Description Requiredness Default value
1 type string optional
2 coordinates TwitterLatLong optional

Struct: TweetInfo

Key Field Type Description Requiredness Default value
1 id i64 optional
3 text string optional
4 createdAt string optional
5 user TwitterUser optional
6 truncated bool optional
7 entities TwitterEntities optional
8 source string optional
9 coordinates TwitterCoordinates optional
11 place TwitterPlace optional
12 favorited bool optional
13 retweeted bool optional
14 retweetCount i32 optional
15 inReplyToScreenName string optional
16 inReplyToStatusId i64 optional
18 inReplyToUserId i64 optional
19 retweetedScreenName string optional
20 retweetedStatusId i64 optional
21 retweetedUserId i64 optional