Comments (4)
thanks @codl
i cant believe i missed that...
from mastodon.py.
Hm! Could you post the code you are running? What does the full call to create_app look like?
from mastodon.py.
#!/bin/python3
import argparse
from mastodon import Mastodon
api_base_url = 'http://localhost:8080',
bot_clientcred = 'bot_clientcred.secret'
Mastodon.create_app(
'bot',
api_base_url = api_base_url,
to_file = bot_clientcred
)
from mastodon.py.
you have a stray comma on the line
api_base_url = 'http://localhost:8080',
which makes it equivalent to
api_base_url = ('http://localhost:8080', )
please remove the comma and try again
from mastodon.py.
Related Issues (20)
- Streaming not working HOT 5
- Add `offset` parameter for `trending_statuses`
- MastodonVersionError: Version check failed (Need version 1.1.0) HOT 5
- How to get configured character limit of Mastodon instance HOT 5
- Add Citation for Mastodon.py HOT 3
- Update filter methods to 4.x HOT 2
- Unable to Host bot HOT 8
- [question] Keeping async listener connection active? HOT 2
- media_update return Error 404: Record not found HOT 1
- Event on mentioned? HOT 2
- mastodon.account_search not working correctly? HOT 10
- Deprecate visibility parameter value `private` and use `followers_only` instead HOT 3
- module is installed, but missing library stubs or py.typed marker HOT 5
- scopes = ['read', 'write'] is ret, but the generated url sill contains '+follow+push' HOT 6
- OAuth question HOT 2
- TypeError: exceptions must derive from BaseException HOT 3
- [Question] Is there a way to export lists as CSV? HOT 2
- [Question] scheduling posts and replies HOT 2
- content_type is not ignored on incompatible servers HOT 2
- [question] retrieving most recent status for a user HOT 2
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 mastodon.py.