gourav26sharma
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2015
02:00 AM
How to add a facebook share button to a private roku channel
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 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.
3 REPLIES 3
gourav26sharma
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2015
04:08 AM
Re: How to add a facebook share button to a private roku cha
guys if i could i get any head start on this would be really apreciated

SolveLLC
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2015
06:12 PM
Re: How to add a facebook share button to a private roku cha
Do all the heavy lifting facebook stuff on the backend. The only thing the Roku needs to do is pass user identification via http POST/GET.
Example:
The user clicks on the "Share to Facebook" button.
The Roku contacts http://www.yourserver.com/facebook.php?id=12345678
The backend server replies "I don't know you. Please visit www.yourserver.com/facebook to link your facebook account" or "I know you, post whatever it is to facebook".
Its a lot easier than trying to make the Roku do everything.
Example:
The user clicks on the "Share to Facebook" button.
The Roku contacts http://www.yourserver.com/facebook.php?id=12345678
The backend server replies "I don't know you. Please visit www.yourserver.com/facebook to link your facebook account" or "I know you, post whatever it is to facebook".
Its a lot easier than trying to make the Roku do everything.
Veeta
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2015
11:13 AM
Re: How to add a facebook share button to a private roku cha
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?
Are you already running a server-side component and doing a registration step?