Skip to main content

Not so far from the today Figma provided frame shared URL in the following format:


https://www.figma.com/file/2irRrkEgfBgbLMcdgPUSXt/OpenSearch?type=design&node-id=72%3A8539&mode=design&t=gbtgxDgFPZbXo6GZ-1


So, I was able to get a “node-id” parameter, decode it and find a node in a document by ID.


But now Figma gives URL in the following format:

https://www.figma.com/design/9C0Vp58ZQcvJC0G4gM6dIH/Common-pages?m=auto&t=Q2kLcrXlPng5YLvB-1


So, no more “node-id” in URL.


My questions:.

What is it “t=Q2kLcrXlPng5YLvB-1”?

How can I use it to find a node in a document?


Thanks

You only need to use the node-id query parameter because only this parameter is responsible for the node ID. The t parameter is responsible for sharing attribution context key.


If the link does not include the node ID, it means that it leads to the first page of the file. You can get the first page ID using figma.root.children[0].id.


Thanks for information!


Reply