-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Touitomamout] Tweets not syncing #113
Comments
Not sure if this is the issue or if there are multiple separate issues right now, but I ran the scraper tests just now and couldn't log in:
The login flow involves a bunch of task messaging back and forth, and I haven't seen this task name before, so it's possible that the login flow changed, in which case a bunch of APIs will stop working. Still need to figure out how exactly this changed, though. |
Thanks @karashiiro. Any idea whether this can be fixed in the medium term? |
Still looking into it, but I'm not sure how soon it can be fixed, since I haven't deciphered the new login flow yet. I'll be out of the country for a few weeks so I don't have much time to work on this before the end of the year — hoping I can figure this out within the week. |
Actually, when I tried debugging this just now, I manually logged into the account I was using for unit tests to compare against the real login flow for that particular account in the browser console. It was the same as what it had been before it broke, and then when I ran the unit tests again they all worked as expected. I wonder if this means this issue was some kind of suspicious account check, and logging in through the website cleared it? At any rate, there doesn't seem to be any new fundamental issue with the scraper. I do still want to understand why this alternate auth path happened before I logged in on the website, though. |
So as for next steps, I suggest manually logging into your scraping account once and seeing if that magically fixes things. Ideally, when you do that, log in from the same geographical region (or IP if possible) as your service to avoid accidentally tripping any anti-phishing systems. |
edit: wait no I misread the original issue, auth issues are still the most likely cause |
Fair enough, I can try that and thanks for looking into it. However, when this first happened, I was also logging in with no issues on the side. I will try and make sure that I do so from the same place and report back later tonight. |
I just ran the repo's CI action and saw the same issue there (logs), which is another point in favor of this explanation. I was still able to run the tests from my local system that I was logged in on. The anti-phishing checks weren't this strict before, so they might've locked things down even more strictly recently. |
Logged into the twitter account, was asked to provide a code sent by email, then all worked fine. Tried touitomamout and got the same result as always.
|
Actually, logged out, changed browser, logged back in, this time no email confirmation asked. Still same output as above. |
I went ahead and cloned touitomamout to try and get a better understanding of what's happening, and I'm fairly certain this is an issue on their end (either a bug or more likely a documentation issue). Dropping a breakpoint here (and enabling sourcemaps from Vite) shows that the scraper is able to retrieve tweets, it's just that
|
Copied the comment to the original issue for tracking purposes |
This is awesome! Thanks for digging into this so quickly! We'll keep our fingers crossed for the resolution of this issue. |
Experiencing a similar problem with https://github.com/ai16z/eliza-starter. I ran the project with valid Twitter credentials and crash with the following error:
Other users report the same problem. Happy to help debug this and provide any additional info which may be useful. |
Creating #114 for that as it's a separate issue. |
Hi,
We are using the twitter-scrapper via Touitomamout and are encountering this issue: https://github.com/louisgrasset/touitomamout/issues/241
Basically, the content-mapper does not find any tweets. So the whole process goes smoothly with no error messages, but nothing gets synced.
Any ideas?
Thanks!
The text was updated successfully, but these errors were encountered: