-
Notifications
You must be signed in to change notification settings - Fork 4
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
Errors when running command line #4
Comments
I'm just realizing that the program tries to send through all cookies in the Try the following: when exporting the cookies, export just those for Facebook's domain |
Okay, I've just updated the program to only send Facebook cookies. Could you try again without redownloading your cookies, to see if it works properly now? |
Same issue - 'header too big' error as in my first post. Should I try logging in and redownloading cookies? EDIT: After logging in and redownloading cookies.txt, I get this error: error: Uncaught (in promise) Error: The filename, directory name, or volume label syntax is incorrect. (os error 123) |
Okay, this new error means that the cookies thing was fixed by redownloading them. Now the issue seems to be that the file names are invalid when trying to save them to disk. I take it from that error that you're using Windows. Are you running the command as presented in the |
Windows 10. Just the README.md version:
|
Okay, I finally got time to test it on Windows. Turns out I mixed up some variables and in Windows this caused I uploaded the fix, try again now. |
Looks like same issue:
|
Try passing deno run --reload --unstable --allow-net --allow-read --allow-write https://raw.githubusercontent.com/xaviripo/fmpd/master/mod.ts - < fbids.txt |
That did the trick, thank you! It looks like it's not pulling all my photos for some reason - I'm assuming it has to do with how I pulled the FBIDs. Can you please recommend the best method? |
Are you getting any errors in the console when downloading the pictures? Make sure that each line of your I created this script to download the pictures I had been tagged in, to do that you can follow the link in the Edit: a little bit more detail:
console.log([...document.getElementsByTagName('a')].filter(link => link.href.includes("?fbid=")).map(link => new URL(link.href).searchParams.get("fbid")).join('\n')) (It's generally not a good idea to copy and paste strangers' code into your console, so I recommend you try and understand what this does.) You should get a list of FBIDs ready to copy and paste into your |
Seeing as the original issue has been solved, I'm going to close this. If you have further trouble with getting the FBIDs or running the program, please open another issue. |
Getting the following error:
error: Uncaught (in promise) Http: error sending request for url (https://m.facebook.com/photo/view_full_size/?fbid=10152897431185895): http2 error: user error: header too big
at processResponse (core.js:223:11)
at Object.jsonOpAsync (core.js:240:12)
at async fetch (deno:op_crates/fetch/26_fetch.js:1274:29)
at async fetchFacebook (fetch.ts:27:10)
at async fetchRedirect (fetch.ts:9:20)
at async download (mod.ts:117:17)
at async main (mod.ts:71:3)
at async mod.ts:218:3
Any idea what the issue is? Thanks!
The text was updated successfully, but these errors were encountered: