Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

  • v0.0.0-20230621134201-fc639a252a25
  • Source
  • Go
  • Socket score

Version published
Created
Source

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

NameDescription
TWITTER_USERNAMETwitter username, same as screen name without @
TWITTER_PASSWORDTwitter password of user
TWITTER_MFA_SECRETTwitter MFA Secret of user

FAQs

Package last updated on 21 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc