added facebook dialog box, fixed url pattern error