louispawaon / sakugabooru-bot Goto Github PK
View Code? Open in Web Editor NEW๐ค SakugaBot is a Twitter Bot dedicated for sakuga animation
Home Page: https://twitter.com/BotSakuga
License: MIT License
๐ค SakugaBot is a Twitter Bot dedicated for sakuga animation
Home Page: https://twitter.com/BotSakuga
License: MIT License
It seems that Tweepy does not recognize authentication from my API keys and sends out a 403 Forbidden error whenever I try to attempt to run the script.
try:
media_list=[]
for dirpath, dirnames, files in os.walk('C:/Users/Admin/Documents/PersonalFiles/Repositories/sakugabooru-video-files'):
for f in files:
media_list.append(os.path.join(dirpath,f))
media = media_list[0]
api.media_upload(media)
except Exception as e:
print(e) #Prints a 403 Forbidden Error
When I attempt to test tweet using the script it sends out a 401 Unauthorized Error. I have looked upon it and checked the general solution of resetting my system clock yet after doing such the problem persists.
try:
auth = tweepy.OAuthHandler(consumer_key,consumer_secret)
auth.set_access_token(access_token,access_token_secret)
api = tweepy.API(auth)
api.update_status('test tweet')
except Exception as e:
print (e) #Prints a 401 Unauthorized Error
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.