Skip to main content
Jul 19, 2024 1:38 PM UTC
Question

How to connect "?t=" parameter in shared frame link with a real node ID?

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

This topic has been closed for replies.

2 replies

tank666
Jul 19, 2024 9:32 PM UTC

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.

UX/UI designer. Figma expert. Creator and developer of plugins and widgets for Figma and FigJam. Check out my resources in Figma Community: figma.com/@tank
Jul 21, 2024 8:44 PM UTC

Thanks for information!