Skip to content

kenchan0130/unofficial-twitter-api-client-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unofficial-twitter-api-client-go

Install

go get github.com/kenchan0130/unofficial-twitter-api-client-go

Usage

import (
    "github.com/kenchan0130/unofficial-twitter-api-client-go"
)

username := "Input your twitter username"
password := "Input your twitter password of user"
mfaSecret := "Input your twitter MFA Secret of user"

client, _ := NewClient(usernamae, password, MFASecret(mfaSecret))
tweets, _ := client.GetUserLikingTweets(context.Background(), "965113717963735045", 20)

Testing

Environment variables

Name Description
TWITTER_USERNAME Twitter username, same as screen name without @
TWITTER_PASSWORD Twitter password of user
TWITTER_MFA_SECRET Twitter MFA Secret of user

About

Advanced Go library to scrap Twitter from unofficial API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages