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

github.com/azunyan1111/twitter-web-api-go

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/azunyan1111/twitter-web-api-go

  • v0.0.0-20200930234203-e2a5dca9fdd6
  • Source
  • Go
  • Socket score

Version published
Created
Source

twitter-web-api-go

This is a Go language wrapper for Twitter's Web API.

install

$ go get github.com/Azunyan1111/twitter-web-api-go

How to use

search API
package main

import (
	"fmt"
	"github.com/Azunyan1111/twitter-web-api-go/twitterWebApi"
	"net/url"
)

func main() {
	err,core := twitterWebApi.NewCore()
	if err != nil{
		panic(err)
	}
	v := url.Values{}
	v.Add("count","10")
	v.Add("tweet_search_mode","live")
	search,err := core.Search("Hello World",v)
	if err != nil{
		panic(err)
	}
	for key,val := range search.GlobalObjects.Tweets{
		fmt.Println(key,val.Text)
	}
}

Message

Don't you think Twitter's API should issue an API key without any research?

FAQs

Package last updated on 30 Sep 2020

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