twitter-profile-media
Get twitter profile image and banner
Install
npm install --save twitter-profile-media
Usage
;; ;
API
media(tokens, username)
Return a promise that resolves to user profile image and banner.
tokens
Type: object
Valid twitter tokens (dev credentials). You can use twitter-tokens to simplify getting tokens.
username
Type: string
Twitter username.
Related
- get-tweets — get latest tweets
- get-twitter-info — get info about target username
- get-twitter-followers — get followers for target username
- tweet-links — extract links from tweet
- tweets-stats — get statistics from array of tweets
- twitter-mentions — get latest mentions for target username
- twitter-tokens — get twitter tokens
License
MIT