Property talk:P6552

Latest comment: 18 days ago by Shkuru Afshar in topic https://convertxid.com for numeric user ID

Documentation

X numeric user ID
numeric identifier for a user on X; use as qualifier for P2002 "X username"
Data typeExternal identifier
Domaintransport service itinerary (Q1067164), human (Q5), organization (Q43229), group of humans (Q16334295), database (Q8513), work (Q386724), occurrence (Q1190554), position (Q4164871), YouTube channel (Q17558136) or individual animal (Q26401003)
Allowed values\d+
ExampleMika Pikazo (Q61058280)1182616704
National Aeronautics and Space Administration (Q23548)11348282
Wikidata (Q2013)57320656
Sourcehttps://x.com
Formatter URLhttps://x.com/i/user/$1
https://twitter.com/i/user/$1
https://syndication.twitter.com/srv/timeline-profile/user-id/$1
https://twitter.com/intent/user?user_id=$1
https://x.com/intent/user?user_id=$1
Related to country  United States of America (Q30) (See 763 others)
See alsoX username (P2002), hashtag (P2572), X post ID (P5933), website account on (P553)
Lists
Proposal discussionProposal discussion
Current uses
Total930,897
Main statement75<0.1% of uses
Qualifier930,660>99.9% of uses
Reference162<0.1% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Single value: this property generally contains a single value. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P6552#Single value, SPARQL
Format “\d+: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P6552#Format, hourly updated report, SPARQL
Conflicts with “instance of (P31): Wikimedia disambiguation page (Q4167410), Wikimedia category (Q4167836), Wikimedia template (Q11266439), Wikimedia module (Q15184295): this property must not be used with the listed properties and values. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P6552#Conflicts with P31, SPARQL
Conflicts with “website account on (P553): X (Q918), Twitter, Inc. (Q1390577): this property must not be used with the listed properties and values. (Help)
List of violations of this constraint: Database reports/Constraint violations/P6552#Conflicts with P553, hourly updated report, SPARQL
Scope is as qualifier (Q54828449): the property must be used by specified way only (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P6552#Scope, SPARQL
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P6552#Entity types
Item “X username (P2002): Items with this property should also have “X username (P2002)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P6552#Item P2002, hourly updated report, search, SPARQL
 
Main value same as qualifier
todo: delete P6552 statement (not the P6552 qualifier) (Help)
Violations query: SELECT ?item ?id ?statement { ?item p:P2002 / pq:P6552 ?id . ?item p:P6552 ?statement . ?statement ps:P6552 ?id . }
List of this constraint violations: Database reports/Complex constraint violations/P6552#Main value same as qualifier
  Pattern ^@?([A-Za-z]{3}[A-Za-z0-9_]{4,12})(/|\?lang)$ will be automatically replaced to \1 and moved to X username (P2002) property.
Testing: TODO list
  Pattern ^(https?://)?twitter\.com/([A-Za-z0-9_]{1,15})$ will be automatically replaced to \2 and moved to X username (P2002) property.
Testing: TODO list


Finding the user ID on Twitter's new redesign

edit

Inspect the profile's page and then inspect the follow button on the profile's description. there should be a data-testid="<number>-follow" with <number> being the user ID. The header image still contains the user ID. — Jeluang Terluang (talk) 09:26, 23 July 2019 (UTC)Reply

I also found it in data-screen-name="atblahblahblah" data-name="Blah Blah Blah" data-user-id="<number>" --User123o987name (talk) 11:21, 2 February 2020 (UTC)Reply
@Jeluang Terluang: I just use this website, it's pretty intuitive http://gettwitterid.com DemonDays64 | Talk to me 22:05, 24 May 2020 (UTC) (please ping on reply)Reply
I know of third party sites that can get the user ID. I just meant how to get the IDs themselves without using third party sites. But that is one of the many others that can help other users to find them. – Jeluang Terluang (talk) 10:25, 25 May 2020 (UTC)Reply
This bookmarklet Help:How to get a Twitter user numeric ID by @Rxy is helpful without using third party websites. Kethyga (talk) 05:34, 24 June 2021 (UTC)Reply

Qualifier for X username (P2002)?

edit

I wonder if we shouldn't simply use this as a qualifier of X username (P2002). I suppose it doesn't matter when the name is stable and there is just one account.

Documentation

edit

I document for this in Help:How to get of Twitter user numeric ID --rxy (talk) 07:24, 19 February 2020 (UTC)Reply

@Rxy: I just use this website, it's pretty intuitive http://gettwitterid.com DemonDays64 | Talk to me 22:06, 24 May 2020 (UTC) (please ping on reply)Reply
That site seems to be kaput. Here is a tool to find the Twitter User ID - https://codeofaninja.com/tools/find-twitter-id/ - Fuzheado (talk) 10:05, 4 March 2021 (UTC)Reply
This now seems to also be kaput. Hoping there's a working tool for this. Trilotat (talk) 14:58, 20 August 2022 (UTC)Reply
@Trilotat: See this thread below → Property talk:P6552#Video tutorial and other instructions. Regards Kirilloparma (talk) 17:06, 20 September 2022 (UTC)Reply

Reversing the roles of P2002 and P6552

edit

If interested in this topic please contribute to the discussion at Wikidata:Requests_for_permissions/Bot/SilentSpikeBot#Relevant_property_discussion where I seek to establish a bot task to handle this conversion and prevent data becoming stale. --SilentSpike (talk) 15:06, 20 February 2020 (UTC)Reply

Changed formatter URL

edit

Hi! In this edit I changed the value of formatter URL (P1630) on this. The previous value was:

https://twitter.com/intent/user?user_id=$1

but with tracking protection settings and some cookies blocked in Firefox on my computer, this never redirects. However, what I changed it to:

https://twitter.com/i/user/$1

works (and does so pretty quickly). DemonDays64 | Talk to me 22:03, 24 May 2020 (UTC) (please ping on reply)Reply

@DemonDays64: No need to change if both are valid. You can list both and set this new one as preferred rank since it seems better. --SilentSpike (talk) 22:06, 24 May 2020 (UTC)Reply

Video tutorial and other instructions

edit
A quick video tutorial

Hi. For anyone interested, I just created a short video tutorial (on the right) on how to find a numeric ID using the "Report an ussue" method. I also updated the instructions here.

For those who, in addition to the numerical identifier, want to know the exact date of creation of the Twitter account, there is a website where this information is provided. If this website is down for some reason, you can use the other one which seems to be a mirror of codeofninja, but I'm not sure about that. Kirilloparma (talk) 16:44, 20 September 2022 (UTC)Reply

Twitter numeric user ID no longer works for those who are not a member of X

edit

Since Twitter numeric user ID no longer works for those who are not a members of X, I wonder what WD should do? Opinions? Ottawahitech (talk) 16:59, 14 January 2024 (UTC)Reply

https://convertxid.com for numeric user ID

edit

https://convertxid.com might help.

Cheers Shkuru Afshar (talk) 10:28, 26 July 2024 (UTC)Reply

Return to "P6552" page.