Is this possible with wix code and if not is there a way to do this?
I see that there is existing FB api that could allow this sort of thing although im not sure how wix would allow me to implement it.
Any ideas would be highly appreciated.
Is this possible with wix code and if not is there a way to do this?
I see that there is existing FB api that could allow this sort of thing although im not sure how wix would allow me to implement it.
Any ideas would be highly appreciated.
You can call the FB API using the wix-fetch API. This article is a good place to get started: Velo: Accessing 3rd-Party Services with the Fetch API | Help Center | Wix.com
It looks like for me to even begin using the api i will have to load FB’s JavaScript SDK to the site.
I think i could call the fetch to pull the resources from “https://connect.facebook.net/en_US/sdk.js”
although im not sure how to go about utilizing the rest of the API afterwards.
would it be possible to put all this code into an IFrame and then call that logic from the wix code editor?
Aaron - Did you have any luck? I am exactly trying to accomplish this very thing myself.
Hi Aaron,
Per Sam’s suggestion, you can use the fetch API to interact with Facebook’s Graph API Graph API - Documentation - Meta for Developers which is HTTP based and will allow you to make posts.