The video Id can't be extracted from some urls containing a dot "." in their username part.
For example https://www.facebook.com/Departement.Gironde/videos/1112970215438894

According to Facebook guidelines around creating custom username (https://www.facebook.com/help/105399436216001)

Usernames can only contain alphanumeric characters (A-Z, 0-9) or a period (".")

The regex in Facebook::getIdFromInput needs an update.

Comments

wblancditjolicoeur created an issue. See original summary.

wblancditjolicoeur’s picture

StatusFileSize
new1.24 KB

Here is the "url-with-dots-in-username-2825158-2.patch"

wblancditjolicoeur’s picture

Pls’s picture

Status: Active » Reviewed & tested by the community

Confirmed. Patch works great! Thanks!

sam152’s picture

Looks good to me.

sam152’s picture

Status: Reviewed & tested by the community » Fixed

a.milkovsky’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.