Skip to content

Instantly share code, notes, and snippets.

View 0xDispatch's full-sized avatar
:shipit:
Hey

Faris 0xDispatch

:shipit:
Hey
View GitHub Profile
@0xDispatch
0xDispatch / ihateonepiece.py
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(
"CONSUMER_KEY", "CONSUMER_SECRET",
"ACCESS_TOKEN", "ACCESS_TOKEN_SECRET"
)
# Create API object
@0xDispatch
0xDispatch / tootbot.py
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
0xDispatch / twitteroauth.py
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"