Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Facebook video will throws 500 if append "__fns" parameter #22011
Comments
|
500 in browser either. |
|
I'm saying that URL you've provided without additional context gives the same 500 in browser that clearly matches the behaviour you get with youtube-dl. |

Checklist
Verbose log
Description
I've noticed youtube-dl will get 500 HTTP error if appended "&__fns" parameter (or "?__fns", depends on the url already has '?' or not).
I get this parameter from a shared post of my friend wall, the video url is 'https://www.facebook.com/1886799411623042/videos/2387358644830449/UzpfSTEwMDAzMDI4NTE2Njk4NDoxODI0NzI0MzI3NzIyNjE/?story_fbid=182472432772261&id=100030285166984&__fns&hash=Ac2A00t7U5_-GkV4'
, which not able to download. I narrow down and figure out the critical parameter which causes 500 is "__fns".
I can't reproduce to get the parameters "hash" and "__fns " after back to my friend wall and re-click, and also I tried to share the post. So the parameter only appeared one time.
I tried with other video such as https://www.facebook.com/weilamanner/videos/487811265309174/ also same, "https://www.facebook.com/weilamanner/videos/487811265309174/?dummy" is works but not "https://www.facebook.com/weilamanner/videos/487811265309174/?__fns" , it's pretty obvious __fns causes the issue.