I have created a private Roku channel. I want to be add a facebook share button on my channel. My research so far has showed that I can use rourltransfer brightscript component to call any API.
I have even downloaded a sample channel from this link that shows how to request the api and parse the json formatted data and then display it.However, I am not able to figure out how can I call the facebook share api in brightscript. Any suggestions how can I add this share API on roku channel would be really appreciated.
I agree with SolveLLC. I’ve done a few OAuth 2 integrations for APIs direct from BrightScript. Unless it’s part of an app’s core feature set, like the facebook channel, then it’s better to try and avoid implementing in BrightScript.
Are you already running a server-side component and doing a registration step?