Comments (7)
Sorry, yes, my bad!
from mastodon.
Do you have example code or additional information that could help us triage this issue?
from mastodon.
Thank you for your answer I just found my PEBCAK.
from mastodon.
Thank you for your answer I just found my PEBCAK.
@n0toose I'm curious what your PEBCAK was though?
from mastodon.
Sure! See my bad Python fstring placement (applicable on the header key instead of value):
# Post on Mastodon
mastodon_url = 'https://mastodon.social/api/v1/statuses'
mastodon_headers = {f'Authorization': 'Bearer {settings.MASTODON_TOKEN}'}
r = requests.post(mastodon_url, headers=mastodon_headers, data={"status": social_message})
from mastodon.
Aha, okay!
from mastodon.
@n0toose I'm curious what your PEBCAK was though?
I presume that I have been confused with @nferrari and that I'm not somehow involved here?
from mastodon.
Related Issues (20)
- Re-render toots with delayed embeded data
- Common Issue list / Duplicated issues
- Custom emoji shortcode name with the same as a unicode emoji shortcode causes the Web UI to put the unicode emoji instead
- Animated webp profile picture HOT 1
- URL of "boosts" is "/reblogs"
- Image file size needlessly increases HOT 2
- In Memoriam accounts should not be allowed in follow recommendations
- When blocking a user, add a prompt to ask whether or not they should also be muted (and vice versa) HOT 2
- Connect existing account in database to OpenID Connect account at a configured IdP
- [Research] Trade-offs on `SafeReblogConcern` monkey patch vs other approaches HOT 1
- Upgrading from v4.2.8 to v4.2.9: TypeError: URL.canParse is not a function HOT 1
- Incorrect “last used on” date on authorized apps page
- Revise Webhook Management UI
- Release 4.2.9 breaks our IP anonymization method HOT 1
- Capture Doorkeeper Application used to create the Report via the API HOT 1
- Polymorphic Reports
- [ux] "post" button does not get disabled for an empty post
- Custom Animations when favoriting a post
- RSS: page not available in requested format HOT 3
- List option to ‘hide from timeline’ is not working. 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.