Facebook username (P2013)

From Wikidata
Jump to navigation Jump to search
identifier for an official (preferably) Facebook person, product or organization page (everything that follows URL part 'https://www.facebook.com/')
  • Facebook.com profile
  • FB.com profile
  • Facebook profile ID
  • FB ID
  • Facebook user ID
  • https://m.facebook.com/
  • https://www.facebook.com/
  • www.facebook.com/
  • Facebook ID
Language Label Description Also known as
English
Facebook username
identifier for an official (preferably) Facebook person, product or organization page (everything that follows URL part 'https://www.facebook.com/')
  • Facebook.com profile
  • FB.com profile
  • Facebook profile ID
  • FB ID
  • Facebook user ID
  • https://m.facebook.com/
  • https://www.facebook.com/
  • www.facebook.com/
  • Facebook ID

Data type

External identifier

Statements

0 references
Key:facebook
0 references
https://www.facebook.com/$1
0 references
https://www.messenger.com/t/$1
0 references
^https?:\/\/(?:(?:www|m|web)\.)?facebook\.com\/(?!pages\/|pg\/|profile\.php|home\.php|sharer)(?:groups\/|people\/|people\/|media\/|hashtag\/)?([\w\d.-]+)
match everything after the domain name except if its a page (which has is own ID property) (English)
0 references
^https?:\/\/(?:www\.|m\.)?facebook\.com\/profile\.php\?id=(\d+)
0 references
^https?:\/\/(?:(?:[a-z-])+\.)?facebook\.com\/(?!pages\/|pg\/|profile\.php|home\.php|blog\/)(?:groups\/|people\/|people\/|media\/|hashtag\/)?(?!sharer\/sharer.php)([\w\d.-]+)
match everything after the domain name except if its a page (which has is own ID property) and allow anything for the first part so as to match https://en-gb.facebook.com/wicksteedpark/ (British English)
0 references
https://m.facebook.com/$1
0 references
https://mobile.facebook.com/$1
0 references
https://touch.facebook.com/$1
0 references
https://unavatar.now.sh/facebook/$1
0 references
https://www.facebook.com/search/top/?q=$1
0 references
[\p{L}\d.-\/\-]+
0 references

Constraints

(?!\w+\.php\b|people\b)[\p{L}\d.\/-]*
0 references
(?!.*?%[0-9A-F]{2}).*
a string without URL-encoded characters, as URL-encoding is done implicitly by Wikidata (English)
0 references