Comments (7)
You were right! I recreated API key and it is working. Another question, last time I had a visibility problem and you solved it with so RC version (1.0.3rc3: pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple pleroma-bot==1.0.3rc3) but this link is not working any more.
from pleroma-bot.
Tnx, I think it is working :)
from pleroma-bot.
This is my config.yml
...
pleroma_base_url: https://salocha.online
max_tweets: 10
twitter_token: xxx
users:
- twitter_username: retroscifiart
pleroma_username: Retroscifiart
pleroma_token: xxx
visibility: "public"
from pleroma-bot.
I'm not sure about pleroma_token is it access token when using step 3 from here: https://tinysubversions.com/notes/mastodon-bot/ (there is access token and refresh token).
from pleroma-bot.
I'm not sure about pleroma_token is it access token when using step 3 from here: https://tinysubversions.com/notes/mastodon-bot/ (there is access token and refresh token).
Yeah, pleroma_token
's value should be the value of the access_token
:
https://robertoszek.github.io/pleroma-bot/gettingstarted/beforerunning/#fediverse-tokens
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://api.twitter.com/2/users/by/username/retroscifiart?user.fields=pinned_tweet_id&expansions=pinned_tweet_id&tweet.fields=entities
However, it looks like the issue it's with the twitter_token
, for whatever reason.
Is it the same token that was working before? Please check there are no trailing spaces or something along those lines.
I've been trying to reproduce it with my tokens and the Twitter user you provided and so far I've not been able to run into a HTTP 401.
It could be potentially an issue on Twitter's side: https://twittercommunity.com/t/401-unauthorized-response-when-using-client-search-all-tweets-tweepy/169478
You can try regenerating your Twitter tokens on the developer portal and see if that makes any difference, make sure your project also has Elevated access.
from pleroma-bot.
There has been some further fixes, the latest release candidate is 1.0.3rc10:
pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple pleroma-bot==1.0.3rc10
An stable release should be coming out soon but you can try running 1.0.3rc10 until then.
from pleroma-bot.
Great! If you run into any other problems, feel free to open a new issue. I'll close this one for now.
Have a nice day!
from pleroma-bot.
Related Issues (20)
- Pleroma bot is failing to pull tweets from a non-protected account HOT 4
- Just a dummy, maybe, question about upgrading Pleroma-Bot HOT 2
- Only thread replies? HOT 4
- SSLError - Option to skip checking/Max retries? HOT 6
- Failing to process tweets - multiple issues HOT 18
- Add support for GoToSocial HOT 9
- Implement recovering mechanism from network interruption HOT 3
- ERROR: Exception occurred for user HOT 4
- In light of changes to Twitter's API coming Feb 9 HOT 25
- Set custom timezone when using original_date HOT 1
- RSS import: Nitter shows links instead of mentions/hashtags and HTML tags HOT 13
- Original timestamp of tweet not used while importing from Twitter archive HOT 2
- Twitter archive -> Mastodon fails with "KeyError" HOT 2
- Incompability with Misskey v13.5.6+ HOT 3
- RSS Import: Issue with KeyError: 'cw' HOT 5
- error HOT 2
- HTTP 422 error for certain quote tweets HOT 2
- Possible to add media-only flag from mastodon-bot?
- Nitter RSS: Handle over-processed links and metadata HOT 7
- RSSHub RSS: Handle remaining Twitter URLs and metadata/encoding oddities HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pleroma-bot.