Comments (2)
Can't replicate this issue, replies are still working as expected.
from twitter-api-client.
It seems my issue was closed faster than a speeding bullet. Interesting. Here's another one for you to swiftly dismiss:
[success] xxx login success
>>> account.reply('test', tweet_id=1660539698320637952)
2023-05-22 11:07:53,445.445 DEBUG: [403]
2023-05-22 11:07:53,445.445 DEBUG: https://twitter.com/i/api/graphql/7TKRKCPuAGsmYde0CudbVg/CreateTweet
2023-05-22 11:07:53,445.445 DEBUG:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/yibudak/deneme/venv/lib/python3.11/site-packages/twitter/account.py", line 201, in reply
return self.gql('POST', Operation.CreateTweet, variables)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/yibudak/deneme/venv/lib/python3.11/site-packages/twitter/account.py", line 58, in gql
save_data(r.json(), op, self.session.cookies.get('username', '_'))
^^^^^^^^
File "/home/yibudak/deneme/venv/lib/python3.11/site-packages/httpx/_models.py", line 756, in json
return jsonlib.loads(self.text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
>>>
from twitter-api-client.
Related Issues (20)
- Cannot parse JSON response 'NoneType' object has no attribute 'json' HOT 7
- Cursor Not Functioning Properly HOT 1
- Rate Limit Retrieval Proposal HOT 4
- 0.10.18 does not work at all on Linux HOT 2
- The limit rate of tweets_details HOT 2
- I can't get any values by using Scraper HOT 9
- Hi Trevor
- Locked accounts HOT 4
- `tweets_by_ids()` Sometimes Not Returning `legacy` HOT 1
- call stack is not deep enough HOT 2
- anyway to access oauth_token and oauth_token_secert?
- flow_token errors while logging in HOT 2
- Scraper: Cannot parse JSON response 'NoneType' object has no attribute 'json' HOT 1
- Reply w/ picture, quote with picture
- Unlock account via arkose captcha solve HOT 7
- Confirmation of tweets_by_ids endpoint rate limits HOT 1
- Unable to Authorize in Linux Shell HOT 4
- View tweet
- How to save cookies for later use HOT 1
- Bug with `debug` Parameter for Linux Shells HOT 1
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 twitter-api-client.