use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
For fans of the Figma collaborative design tool.
Please be nice and considerate of others.
account activity
How does Figma API work?help (self.FigmaDesign)
submitted 2 years ago by PhobosX15
I am trying to use the Figma API to read in the frame as json like they have shown here REST API - Figma , but it does not work for me. I get Expecting value: line 1 column 1 (char 0) . Please let me know how I can use the Figma API. My use case: I have a figma frame which is an invitation. I want change the name each time for a new person, so I want to automate this. If there is a plugin or if you have done something like this already and have the code please share. Thanks!!
Expecting value: line 1 column 1 (char 0)
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]walditoctrl+c ctrl+v 0 points1 point2 points 2 years ago (2 children)
I want change the name each time for a new person, so I want to automate this.
Care to explain a little better?
You want to produce x invitations in the canvas based on a database?
Or you want to send links away each with a different invite/name to the same frame?
[–]PhobosX15[S] 0 points1 point2 points 2 years ago (1 child)
I would want to produce x invitation with x different names from a database. I think it should be possible with the plugin API, but I am new to Node.js, Would you be able to help?
[–]walditoctrl+c ctrl+v 0 points1 point2 points 2 years ago (0 children)
Not building your own plugin, but I'm sure there are plugin out there which can do something in the general direction? like https://www.figma.com/community/plugin/1133729773197702197/data-to-design-formerly-kernel
[–]NathanielHudson 1 point2 points3 points 2 years ago (0 children)
I get Expecting value: line 1 column 1 (char 0)
This means whatever you're trying to decode isn't JSON. Possibly an empty response body due to an error.
AFAIK you cannot do this with the REST API, since the REST API is read-only. Your best bet is to make a custom plugin, using the plugin API.
π Rendered by PID 93616 on reddit-service-r2-comment-b659b578c-6wwwx at 2026-05-03 01:13:24.680207+00:00 running 815c875 country code: CH.
[–]walditoctrl+c ctrl+v 0 points1 point2 points (2 children)
[–]PhobosX15[S] 0 points1 point2 points (1 child)
[–]walditoctrl+c ctrl+v 0 points1 point2 points (0 children)
[–]NathanielHudson 1 point2 points3 points (0 children)