description |
---|
Seamlessly integrate Twitter with your favorite APIs, databases, and programming languages, using WayScript. |
{% hint style="info" %} Check out twython on GitHub. {% endhint %}
- Number of Tweets - Enter the number of tweets you want to receive.
- Ignore Retweets - Ignore retweets of posts. Will only return original tweets.
- Ignore Replies - Ignore replies to posts. Will only return original tweets.
- Result Type - Specifies what type of search results you would prefer to receive. The default value is "Mixed".
- Options: Recent, Popular, Mixed
- Search Term - Excepts Keywords, #hashtags, or @usernames.
- Max length: 500 characters.
Tweets = [
{
content : String,
username : String,
name : String,
id : Int,
retweet_count : Int,
follower_count : Int,
favorite_count : Int,
date : Date,
url : String,
hashtags : [
String,
],
user_mentions : [
String,
],
url_mentions : [
String,
],
},
]
- Include Retweets - Select whether you want to include retweets or not.
- Options: Yes, No
- Username - Enter the name of the User whose tweet history you want.
- Note: @ not required in username
Tweets = [
{
content : String,
username : String,
name : String,
id : Int,
retweet_count : Int,
follower_count : Int,
favorite_count : Int,
date : Date,
url : String,
hashtags : [
String,
],
user_mentions : [
String,
],
url_mentions : [
String,
],
},
]
- Username - Enter the name of the User whose tweet history you want.
- Note: @ not required in username
User = {
description : String,
website : String,
num_followers : Int,
num_following : Int,
num_tweets: Int,
likes : Int,
location : String,
name : Date,
profile_image_url : String,
verified : String
created_at : Date
}
{% hint style="warning" %} Due to Twitter's Rate Limiting Policy, this is a slow operation (takes 1 minute per 200 users in either category... so be selective with this mode). {% endhint %}
This mode lets you pull in lists of the usernames of a users followers and friends (people the user follows).
- Username - Enter the name of the User (e.g. WayScriptHQ)
- Note: @ not required in username
Follower Data = {
following_usernames : [ String ],
follower_usernames : [ String ]
}
- Message - Enter in the message field what you want your status to be.
This mode pulls data from your own timeline.
- Tweets
- Number of Post Retweets
This mode allows you to like a tweet by its tweet id. This ID can be pulled from the Twitter Search functionality or from the URL of the tweet.
- Tweet ID - The ID of the tweet from Twitter.