mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
committed by
Seif Lotfy سيف لطفي
parent
6e58321928
commit
02d3b18497
@@ -36,8 +36,8 @@ func main() {
|
||||
fmt.Println("Looking for tweets of the account:", username)
|
||||
|
||||
// Twitter auth config
|
||||
config := oauth1.NewConfig(os.Getenv("CONFIG_CUSTOMER_KEY"), os.Getenv("CONFIG_CUSTOMER_SECRET"))
|
||||
token := oauth1.NewToken(os.Getenv("CONFIG_ACCESS_TOKEN"), os.Getenv("CONFIG_ACCESS_SECRET"))
|
||||
config := oauth1.NewConfig(os.Getenv("CUSTOMER_KEY"), os.Getenv("CUSTOMER_SECRET"))
|
||||
token := oauth1.NewToken(os.Getenv("ACCESS_TOKEN"), os.Getenv("ACCESS_SECRET"))
|
||||
|
||||
httpClient := config.Client(oauth1.NoContext, token)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user