Other than trivial data sources like this, often data retrieval from 3rd party sources will require security, ideally with OAuth2 using grant type Authorization Code. This is much more complex and there isn't much if any support for this for outbound API calls to external services that require security for their API. It'd be great to see more useful demos or samples.
Well done Meredith. Although I had some training 15 years ago, I am not a programmer and new to Wix; very impressive platform. I followed your code to the letter and the 'Suggest and Activity'/ on the live site does not work. (The backend jsw does work in dev testing but I have an apparent error on the front end. Can you offer any advice?
Thanks for this. We have several customers with Wix websites. They need to connect to our membership database. Ideally the wix page will collect username and password and the call our rest api getting a token back if they are a valid member. Then use that token to make another request to return data such as renewal date, membership type etc. This looks like the best tool for that. Is there a better approach? I think developing a wix module as you mentioned early in the video is probably overkill for our needs.
Great video! How did you connect the results of the fetch to the front end display in the text fields? I'm able to see the results of the query when I test it but cant figure out how to display it on the actual site.
Hello! Near the end of the video around 8:30 when Meredith shows you code in the Home.js file, you will see where she connects to the front end elements. In your editor, every place in the code that looks similar to $w('#someID') is connecting to a UI element based on the IDs you define. For more information on coding in Velo, you can go to the learning center: learn-code.wix.com/en/getting-started-guides/beginners-guide and for help with coding problems, you can ask a question in our community forum: www.wix.com/velo/forum
Hello! To get help with your Velo code, head over to our community forum and post the code you have tried and where you need help. www.wix.com/velo/forum/
I'll never understand why everyone skips steps by having things already set up and starting on line 7. How are beginners supposed to learn? I have no idea where you got the info between line 1 and 7.
Hello! In this example, line 1 is the import statement for the Wix Fetch API. You can check out the API here for more examples www.wix.com/velo/reference/wix-fetch/fetch The function created below that is not specific to Wix and is an async export function where Meredith is using "let" to set a new variable of url the the value of the API. There are many resources online to learn more about JavaScript so I will not suggest a specific one as you will want to choose based on what suits your needs.
Other than trivial data sources like this, often data retrieval from 3rd party sources will require security, ideally with OAuth2 using grant type Authorization Code. This is much more complex and there isn't much if any support for this for outbound API calls to external services that require security for their API. It'd be great to see more useful demos or samples.
Well done Meredith. Although I had some training 15 years ago, I am not a programmer and new to Wix; very impressive platform. I followed your code to the letter and the 'Suggest and Activity'/ on the live site does not work. (The backend jsw does work in dev testing but I have an apparent error on the front end. Can you offer any advice?
Thanks for this. We have several customers with Wix websites. They need to connect to our membership database. Ideally the wix page will collect username and password and the call our rest api getting a token back if they are a valid member. Then use that token to make another request to return data such as renewal date, membership type etc.
This looks like the best tool for that. Is there a better approach? I think developing a wix module as you mentioned early in the video is probably overkill for our needs.
Great video! How did you connect the results of the fetch to the front end display in the text fields? I'm able to see the results of the query when I test it but cant figure out how to display it on the actual site.
Hello! Near the end of the video around 8:30 when Meredith shows you code in the Home.js file, you will see where she connects to the front end elements. In your editor, every place in the code that looks similar to $w('#someID') is connecting to a UI element based on the IDs you define. For more information on coding in Velo, you can go to the learning center: learn-code.wix.com/en/getting-started-guides/beginners-guide and for help with coding problems, you can ask a question in our community forum: www.wix.com/velo/forum
Hi community! IS There anyway I can make each of my wix user Sync their IG accts to extract demographic data from their IG?
Hi its a nice video ,well explained.Need to know how can we pass value to path parameter in api url.
Hello! To get help with your Velo code, head over to our community forum and post the code you have tried and where you need help. www.wix.com/velo/forum/
I'll never understand why everyone skips steps by having things already set up and starting on line 7. How are beginners supposed to learn? I have no idea where you got the info between line 1 and 7.
Hello! In this example, line 1 is the import statement for the Wix Fetch API. You can check out the API here for more examples www.wix.com/velo/reference/wix-fetch/fetch
The function created below that is not specific to Wix and is an async export function where Meredith is using "let" to set a new variable of url the the value of the API. There are many resources online to learn more about JavaScript so I will not suggest a specific one as you will want to choose based on what suits your needs.