Fix #321 update to 582d5a5

and comply to Facebook Meta URL specifications