Created
December 8, 2010 17:26
Revisions
-
marcgg revised this gist
Nov 6, 2012 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,5 @@ # Matches patterns such as: # https://www.facebook.com/my_page_id => my_page_id # http://www.facebook.com/my_page_id => my_page_id # http://www.facebook.com/#!/my_page_id => my_page_id # http://www.facebook.com/pages/Paris-France/Vanity-Url/123456?v=app_555 => 123456 -
marcgg revised this gist
Nov 6, 2012 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,11 @@ # Matches patterns such as: # http://www.facebook.com/my_page_id => my_page_id # http://www.facebook.com/#!/my_page_id => my_page_id # http://www.facebook.com/pages/Paris-France/Vanity-Url/123456?v=app_555 => 123456 # http://www.facebook.com/pages/Vanity-Url/45678 => 45678 # http://www.facebook.com/#!/page_with_1_number => page_with_1_number # http://www.facebook.com/bounce_page#!/pages/Vanity-Url/45678 => 45678 # http://www.facebook.com/bounce_page#!/my_page_id?v=app_166292090072334 => my_page_id # http://www.facebook.com/my.page.is.great => my.page.is.great /(?:https?:\/\/)?(?:www\.)?facebook\.com\/(?:(?:\w)*#!\/)?(?:pages\/)?(?:[\w\-]*\/)*([\w\-\.]*)/ -
marcgg revised this gist
Jul 17, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,4 +7,4 @@ # http://www.facebook.com/bounce_page#!/pages/Vanity-Url/45678 => 45678 # http://www.facebook.com/bounce_page#!/my_page_id?v=app_166292090072334 => my_page_id /(?:http:\/\/)?(?:www\.)?facebook\.com\/(?:(?:\w)*#!\/)?(?:pages\/)?(?:[\w\-]*\/)*([\w\-]*)/ -
marcgg created this gist
Dec 8, 2010 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ # Matches patterns such as: # http://www.facebook.com/my_page_id => my_page_id # http://www.facebook.com/#!/my_page_id => my_page_id # http://www.facebook.com/pages/Paris-France/Vanity-Url/123456?v=app_555 => 45678 # http://www.facebook.com/pages/Vanity-Url/45678 => 45678 # http://www.facebook.com/#!/page_with_1_number => page_with_1_number # http://www.facebook.com/bounce_page#!/pages/Vanity-Url/45678 => 45678 # http://www.facebook.com/bounce_page#!/my_page_id?v=app_166292090072334 => my_page_id /(?:http:\/\/)?(?:www.)?facebook.com\/(?:(?:\w)*#!\/)?(?:pages\/)?(?:[\w\-]*\/)*([\w\-]*)/