🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

github.com/nipunapamuditha/twitter_api_lab

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/nipunapamuditha/twitter_api_lab

v0.0.0-20241018014540-2e1e2fc58904
Source
Go
Version published
Created
Source

Twitter_API_LAB

Introduction

This project contains a Go application that interacts with the Twitter API.

Setup Instructions

Setting Up a Twitter Developer Account

  • Go to the Twitter Developer website and apply for a developer account.
  • Once approved, create a new project and an app within that project.

Generating API Keys

  • Navigate to the "Keys and tokens" tab of your app.
  • Generate and copy the following keys:
    • API Key
    • API Secret Key
    • Access Token
    • Access Token Secret

Posting a New Tweet

The program prompts the user to enter the content of the tweet. It then sends a POST request to the Twitter API to create the tweet.

delete Tweet

The program prompts the user to enter the tweet id of thr tweet which need to be deleted

FAQs

Package last updated on 18 Oct 2024

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