Flickr user ID (P3267)
Jump to navigation
Jump to search
identifier for a person or organisation, with an account at Flickr
- Flickr ID
- Flickr
- Flickr username
- Flickr account
- NSID
- Flickr NSID
Language | Label | Description | Also known as |
---|---|---|---|
English | Flickr user ID |
identifier for a person or organisation, with an account at Flickr |
|
Data type
External identifier
Statements
Turn a username into a user ID with the webform found at https://www.webfx.com/tools/idgettr/ (English)
0 references
https://www.flickr.com/people/$1
0 references
^https?:\/\/(?:www\.|secure\.)?flickr\.com\/(?:photos|people)\/(\d{5,11}@N\d{2})
^(.+) \| Flickr$
0 references
^https?:\/\/(?:www\.)?flickr\.com\/mail\/write\/\?to=(\d{5,11}@N\d{2})
0 references
^https?:\/\/(?:www\.|secure\.)?flickr\.com\/(?:photos|people)\/(.+)\/
0 references
Constraints
0 references
0 references
0 references
\d{5,11}@N\d{2}
The following command (when replacing USERNAME) can be used on typical Linux distributions to extract the required ID to use for this property from a user's page on Flickr: wget -q -O - 'https://www.flickr.com/people/USERNAME/' | xmllint --html --recover --nowarning --xpath '//script[@class="modelExport"]' - 2>/dev/null | grep -Po '(?<="nsid":")\d{5,11}@N\d{2}(?=","pathAlias")' (English)
Located from the source of the HTML page by searching the source for string: "nsid": (English)
0 references
0 references