In a URL that’s originating from Facebook, the origination URLs look like this.
- example.com/post.htm?fb_action_ids=
- example.com/post/?fb_action_ids=
- example.com/post?fb_action_ids=
- example.com/post.php?id=1&fb_action_ids=
If the general URL form look like that using javascript how can we extract the part that’s before ?fb_action_ids= ?
urlbeing the variable that contains theURL