
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@anthony16t/twitter-search
Advanced tools
``` javascript import TwitterSearch from "@anthony16t/twitter-search" ``` Initialize the module (class) by creating a new TwitterSearch object and passing the bearer token. ``` javascript const bearerToken = "your-bearer-token-from-twitter-api" // IT'S RE
import TwitterSearch from "@anthony16t/twitter-search"
Initialize the module (class) by creating a new TwitterSearch object and passing the bearer token.
const bearerToken = "your-bearer-token-from-twitter-api"
// IT'S REQUIRED TO PASS THE TWITTER API BEARER TOKEN
const twitterSearch = new TwitterSearch(bearerToken)
Inside a async function or if using top level await, you will have to await any function inside TwitterSearch. All functions return false or api data, alway check to see if returned value is not false.
// GET USER JACK INFORMATION FROM TWITTER
const jackInfo = await twitterSearch.user("jack")
// CHECK TO SEE IF USER WAS FOUNDED (RETURNED DATA NOT FALSE)
if(jackInfo){
console.log(jackInfo)
}
// GET USER JACK INFORMATION FROM TWITTER
const jackInfo = await twitterSearch.user("jack")
// GET USER JACK'S LASTED TWEETS
const tweets = await tweeterSearch.tweets('12',2)
// GET USER JACK'S LIST OF FOLLOWERS
const followersList = await tweeterSearch.followersList('12',2)
// GET USER JACK'S LIST OF FOLLOWINGS
const followingsList = await tweeterSearch.followingsList('12',2)
// SEARCH TWITTER USING ANY SEARCH KEYWORDS
const search = await tweeterSearch.search('$TSLA',2)
// ALWAYS CHECK IF THE RETURNED VALUE IS NOT FALSE
if(jackInfo){
console.log(jackInfo)
}
FAQs
``` javascript import TwitterSearch from "@anthony16t/twitter-search" ``` Initialize the module (class) by creating a new TwitterSearch object and passing the bearer token. ``` javascript const bearerToken = "your-bearer-token-from-twitter-api" // IT'S RE
We found that @anthony16t/twitter-search demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.