To run the code, use *pip install “twikit==1.7.6”* to install the _twikit_ package. The latest update of _twikit_ deprecated the synchronous method which is used in the code.
thanks a lot for this nice video. I am facing a problem with this code: here is one of the first problems when doing it: for tweet in tweets: TypeError: 'coroutine' object is not iterable sys:1: RuntimeWarning: coroutine 'Client.search_tweet' was never awaited I am using Pycharm and Python 3.10 ??? any idea
when I use the twikit==1.7.6, I got this error: raise BadRequest(message, headers=response.headers) twikit.errors.BadRequest: status: 400, message: "{"errors":[{"code":366,"message":"flow name LoginFlow is currently not accessible"}]}"
Hi Mehran I have the same issue twikit.errors.BadRequest: status: 400, message: "{"errors":[{"code":366,"message":"flow name LoginFlow is currently not accessible"}]}" please help us Mehran jun
You are a genius man! I am doing a thesis about epidemiological models applied to information difussion in Twitter, and of course I will need lot of tweets. Thanks!
Nice one man keep doing good 👍 Please will this work for streaming tweets I real-time for a specific region or will the rate limit affect it even after using the TooManyRequest class?
how can I handle this error with twikit " BadRequest: status: 400, message: "{"errors":[{"code":366,"message":"flow name LoginFlow is currently not accessible"}]}"
Im getting the sane error now. As soon as he released the video my code worked and I got 3000 tweets..., now looks like X saw this video and change the access. Now Im stuck in the middle of my project with no more new tweets....
Synchronous version was deprecated from version 2.0.0. Therefore the code in this video will no longer work and needs to be updated to asynchronous. You can find more information in the documentation or on the release page.
please need your help i am doing a project and i have this error: Exception has occurred: BadRequest status: 400, message: "{"errors":[{"code":366,"message":"Required input 'LoginAcid' not provided."}]}" Someone know how I can fix it?
I am facing a problem with the code: for tweet in tweets: TypeError: 'coroutine' object is not iterable sys:1: RuntimeWarning: coroutine 'Client.search_tweet' was never awaited I am using Pycharm and Python 3.10 ??? any idea
They have upgraded the api from version 2.0.0 we need to call the api as async operation if we are calling with out async we will get coroutine issue check out there documentation for more details
Do you know if the query syntax is different from that of the official API? When I try to use queries from the advanced search, I get errors in extracting data from the time frames I specified or the keywords I want to search for.
hey guys just wondering, i follow every step on the video but when i run the program it says: Traceback (most recent call last): File "d:\S1\TA\Scraping data\scraping.py", line 67, in for tweet in tweets: ^^^^^^ TypeError: 'coroutine' object is not iterable :0: RuntimeWarning: coroutine 'Client.search_tweet' was never awaited anyone know how to fix it?
Hello, when I try to run everything up to and including the client.search_tweets command, I get the following error: RuntimeError: 'run_cell_async' needs a real async loop An initial search was not helpful. Do you have any insight on this error? Also, could you please tell me how to search for tweets within a certain time frame (date ranges)? Thank you!
I am getting a different error after making some adjustments. RuntimeWarning: Enable tracemalloc to get the object allocation traceback Do you know how to resolve this issue? Thank you!
you need to randomise it a bit more, with a decision tree, like doing some likes, re-tweets, maybe commenting with "Awesome" or "I agree" etc. That would look even more human. Can this new library handle proxies?
Apparently there is a new update that removed synchronous api. The easiest way to run the code is to install the package before that update. Try pip install “twikit==1.7.6”
BadRequest: status: 400, message: "{"errors":[{"code":366,"message":"flow name LoginFlow is currently not accessible"}]}" //please need your help i am doing a project need this data please how can do that 😭
I am getting this error when running the code- is there a way to fix it? TypeError Traceback (most recent call last) in () 72 break 73 ---> 74 for tweet in tweets: 75 tweet_count += 1 76 tweet_data = [tweet_count, tweet.user.name, tweet.text, tweet.created_at, tweet.retweet_count, tweet.favorite_count] TypeError: 'coroutine' object is not iterable
1:24 can you explain why you imported all these things? I would like to learn this stuff but you're just saying what you're doing instead of explaining what it does or why you would want to do that.
It's givinng me the following error when I ran the initial code to get 1 tweet: for tweet in tweets: TypeError: 'coroutine' object is not iterable sys:1: RuntimeWarning: coroutine 'Client.search_tweet' was never awaited Anyone has a solution for that? P.S. - I really loved this video of yours
not working packages\twikit\client\client.py", line 160, in request raise Forbidden(message, headers=response.headers) twikit.errors.Forbidden: status: 403, message: ""
Hello, when I try to run everything up to and including the client.search_tweets command, I get the following error: RuntimeError: 'run_cell_async' needs a real async loop An initial search was not helpful. Do you have any insight on this error? Also, could you please tell me how to search for tweets within a certain time frame (date ranges)? Thank you!
Hello, when I try to run everything up to and including the client.search_tweets command, I get the following error: RuntimeError: 'run_cell_async' needs a real async loop An initial search was not helpful. Do you have any insight on this error? Also, could you please tell me how to search for tweets within a certain time frame (date ranges)? Thank you!
To run the code, use *pip install “twikit==1.7.6”* to install the _twikit_ package. The latest update of _twikit_ deprecated the synchronous method which is used in the code.
thanks a lot for this nice video. I am facing a problem with this code:
here is one of the first problems when doing it:
for tweet in tweets:
TypeError: 'coroutine' object is not iterable
sys:1: RuntimeWarning: coroutine 'Client.search_tweet' was never awaited
I am using Pycharm and Python 3.10 ??? any idea
when I use the twikit==1.7.6, I got this error:
raise BadRequest(message, headers=response.headers)
twikit.errors.BadRequest: status: 400, message: "{"errors":[{"code":366,"message":"flow name LoginFlow is currently not accessible"}]}"
@@laidkahloul322 Hey. I'm encountering the same error. Did you find a way of fixing it?
Hi Mehran I have the same issue
twikit.errors.BadRequest: status: 400, message: "{"errors":[{"code":366,"message":"flow name LoginFlow is currently not accessible"}]}"
please help us Mehran jun
Hey ! I get a "key Error : Open Account" when attempting to log in. Could anyone help ? Pls
You are a genius man! I am doing a thesis about epidemiological models applied to information difussion in Twitter, and of course I will need lot of tweets. Thanks!
ok it gives an error i think twitter has blocked access
is it working?
Bets video on the internet regarding this topic. You have no idea how much this helped me. 17:54 made me chuckle ahah
You're a life saver
You are an amazing tutor. Bless you
this is very wonderful lecture keep it up bro you are doing wonderful job and this video is very helpful for me thanks for this
Keep it up man, appreciate the work
Nice one man keep doing good 👍
Please will this work for streaming tweets I real-time for a specific region or will the rate limit affect it even after using the TooManyRequest class?
Finally bro got his account's password!!!!
I just noticed, haha.
how can I handle this error with twikit " BadRequest: status: 400, message: "{"errors":[{"code":366,"message":"flow name LoginFlow is currently not accessible"}]}"
Im getting the sane error now. As soon as he released the video my code worked and I got 3000 tweets..., now looks like X saw this video and change the access. Now Im stuck in the middle of my project with no more new tweets....
same error, what must we do?
@@stanislavchernyshov7916 yes me too have you found a work around
Synchronous version was deprecated from version 2.0.0. Therefore the code in this video will no longer work and needs to be updated to asynchronous. You can find more information in the documentation or on the release page.
it works for my by installing the appropriate version: pip install “twikit==1.7.6”
Can u send the documentation
Me funciono. Gracias por tu tiempo, tienes nuevo suscriptor.
Puedo saber o ver tu script? yo tengo el clásico error del que la mayoría se queja, me ayudarías muchísimo, gracias.
is this api still working
Is it not safe for your twitter account?
Getting this error
{"errors":[{"code":366,"message":"flow name LoginFlow is currently not accessible"}]}
please need your help i am doing a project and i have this error:
Exception has occurred: BadRequest
status: 400, message: "{"errors":[{"code":366,"message":"Required input 'LoginAcid' not provided."}]}"
Someone know how I can fix it?
got the same problem, any ideas?
i got the same problem
I am facing a problem with the code: for tweet in tweets:
TypeError: 'coroutine' object is not iterable
sys:1: RuntimeWarning: coroutine 'Client.search_tweet' was never awaited
I am using Pycharm and Python 3.10 ??? any idea
I have this problem
same
They have upgraded the api from version 2.0.0 we need to call the api as async operation if we are calling with out async we will get coroutine issue check out there documentation for more details
@@saikethanmadhadi1615 Any code so? can you provide us with the required code please to get tweets? Thanks a lot !
@@saikethanmadhadi1615 Have you any code please? if you have it please send it or post it here! Thanks
it's killing me..
status: 400, message: "{"errors":[{"code":366,"message":"Missing data."}]}"
Do you know if the query syntax is different from that of the official API? When I try to use queries from the advanced search, I get errors in extracting data from the time frames I specified or the keywords I want to search for.
yeah, i'm getting the same errors
twikit 2.13 Can the blogger update the code?
can you please provide the code , thank you
I ran this code.. I get error 403 again and again like forbidden error.. what will
Be the solution?
i got the same
can you make a script which will notify whenever the user posts a tweet ??
Can anybody help me to run the code, i tried several times and i didn't worked.
Thank you sir
is there a maximum number of tweets that can be fetched? I set a minimum of 1000 but it stops randomly between 90-600
hey guys just wondering, i follow every step on the video but when i run the program it says:
Traceback (most recent call last):
File "d:\S1\TA\Scraping data\scraping.py", line 67, in
for tweet in tweets:
^^^^^^
TypeError: 'coroutine' object is not iterable
:0: RuntimeWarning: coroutine 'Client.search_tweet' was never awaited
anyone know how to fix it?
i found the same error , did you fix it???
@AZELOUALIDINEKAWTAR nope mate
Hello,
when I try to run everything up to and including the client.search_tweets command, I get the following error:
RuntimeError: 'run_cell_async' needs a real async loop
An initial search was not helpful.
Do you have any insight on this error?
Also, could you please tell me how to search for tweets within a certain time frame (date ranges)?
Thank you!
I am getting a different error after making some adjustments.
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
Do you know how to resolve this issue?
Thank you!
you need to randomise it a bit more, with a decision tree, like doing some likes, re-tweets, maybe commenting with "Awesome" or "I agree" etc. That would look even more human.
Can this new library handle proxies?
Nice suggestion! This can help to avoid the ban. And yes, you can pass proxy while initializing Client, like ‘Client(proxy=“0.0.0.0:0000”)’
awesome
it says RuntimeWarning: Enable tracemalloc to get the object allocation traceback how can i solve it
Same. TypeError: coroutine object is not iterable. 'Client.search_tweet' was never awaited.
Apparently there is a new update that removed synchronous api. The easiest way to run the code is to install the package before that update. Try
pip install “twikit==1.7.6”
@@aispectrum works now, thank you. You should mention it in description, before you get the "does not work" sentiment in the comment section 😃
@@aispectrum
Code displays an error message when doing this:
Forbidden: status: 403, message: ""
@@antiwars9889 I also got the same... anyone figured out a fix?
I'm getting a "keyError : Open account" error when login. Could anyone help ?
im getting error!!! help me out please
anyone get "status: 400, message: "{"errors":[{"code":399,"message":"Sorry, we could not find your account. "???
It doesn't work with me.
I have to get the data of twitter nearly 1.000.000 tweets but these codes dont work it could you help me to get it?
Hello, did you find a solution for this?
@@LolaErogs no I am still working on it
@@busracelik1165 hello please I am also interested when you find a way to get the large amount of tweet
i was using API before it was free. But it cant compare with API data. scraping data is way too different.
Agreed! Before it was way easier to get tweets 🥲
BadRequest: status: 400, message: "{"errors":[{"code":366,"message":"flow name LoginFlow is currently not accessible"}]}"
//please need your help i am doing a project need this data please how can do that 😭
I met the same error 😭, did you find the solution ?
@@lemoncookies_applejuice did you?
did you find a solution
I need at least 3,000 tweets on #diabetes. please help me🥺. I can't do it.
Hello, have you been able to solve this?
Have you been able to run the script? Is there a problem with data collection or are you getting some error?
@@LolaErogshello, second time seeing you in the comments.❤
@@GloryBenedict-qs5sf looool frantically looking for a solution
I am getting this error when running the code- is there a way to fix it?
TypeError Traceback (most recent call last)
in ()
72 break
73
---> 74 for tweet in tweets:
75 tweet_count += 1
76 tweet_data = [tweet_count, tweet.user.name, tweet.text, tweet.created_at, tweet.retweet_count, tweet.favorite_count]
TypeError: 'coroutine' object is not iterable
Me also!
1:24 can you explain why you imported all these things? I would like to learn this stuff but you're just saying what you're doing instead of explaining what it does or why you would want to do that.
It's givinng me the following error when I ran the initial code to get 1 tweet:
for tweet in tweets:
TypeError: 'coroutine' object is not iterable
sys:1: RuntimeWarning: coroutine 'Client.search_tweet' was never awaited
Anyone has a solution for that?
P.S. - I really loved this video of yours
are u able to login into the twitter?
@@rammarthi5790 Yes I am
not working
packages\twikit\client\client.py", line 160, in request
raise Forbidden(message, headers=response.headers)
twikit.errors.Forbidden: status: 403, message: ""
did you find a solution to this?
twikit.errors.Forbidden: status: 403, message: ""
I am getting this error!
Hello,
when I try to run everything up to and including the client.search_tweets command, I get the following error:
RuntimeError: 'run_cell_async' needs a real async loop
An initial search was not helpful.
Do you have any insight on this error?
Also, could you please tell me how to search for tweets within a certain time frame (date ranges)?
Thank you!
Hello,
when I try to run everything up to and including the client.search_tweets command, I get the following error:
RuntimeError: 'run_cell_async' needs a real async loop
An initial search was not helpful.
Do you have any insight on this error?
Also, could you please tell me how to search for tweets within a certain time frame (date ranges)?
Thank you!