Skip to content

Instantly share code, notes, and snippets.

View 0xDispatch's full-sized avatar

Faris 0xDispatch

View GitHub Profile
0xDispatch /
Created August 6, 2023 19:09
a python code to block anyone tweeting about one piece
#wont work tho
import tweepy
# Authenticate to Twitter
auth = tweepy.OAuth1UserHandler(
# Create API object
0xDispatch /
Last active August 10, 2023 23:47
changing tweeting from api1 to apiv2, adding client for api v2,
import praw
import json
import tweepy
import time
import os
import csv
import configparser
import urllib.parse
import sys
from imgurpython import ImgurClient
0xDispatch /
Created February 7, 2023 09:49
a simple python script to generate Access tokens using twitter official keys.
import requests
from requests_oauthlib import OAuth1
#twitter official keys *Twitter for Android*
consumer_key = "3nVuSoBZnx6U4vzUxf5w"
consumer_secret = "Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys"
#change these to your user&pass
username = "NordsWarrior"
password = "NeverGonnaGiveYouUp"