0

Facebook TV widget

Hi All,

Where can view the code for Facebook TV widget?

Thank You.
Regards,
Priya

by
5 Replies
  • You cannot view any code from any published application. Every code set is under copyright.
    0
  • QUOTE (WidgetRealm @ Nov 19 2010, 09:03 AM) <{POST_SNAPBACK}>
    You cannot view any code from any published application. Every code set is under copyright.


    Thank You.
    But can you please give me some idea about how I can access facebook from my widget.

    Regards
    Priya
    0
  • Facebook provides apis for http requests to interact with their system. However for some apis, you much authenticate the user by Oauth. Oauth requires a web browser, there is no web browser on the YCTV, so much of the facebook api cannot be used from the YCTV platform. Facebook's rules are "Unless you are writing a browser, or are employed by facebook, you may not request a user name and password from the user." Please check the facebook website for information about their APIs.
    0
  • QUOTE (jsl4tv @ Nov 22 2010, 01:27 PM) <{POST_SNAPBACK}>
    Facebook provides apis for http requests to interact with their system. However for some apis, you much authenticate the user by Oauth. Oauth requires a web browser, there is no web browser on the YCTV, so much of the facebook api cannot be used from the YCTV platform. Facebook's rules are "Unless you are writing a browser, or are employed by facebook, you may not request a user name and password from the user." Please check the facebook website for information about their APIs.


    I think this response maze overlook a best practice. Note that you can use your own servers or facebook apps to provide authorization.

    For example, i have an eye-fi sd card in my camera that uploads photos directly to facebook using wifi. This works because I log in to an eye-fi app server ahead of time and authorize the eye-fi app to do these things, and then my card communicates with the eye-fi app server.

    Similarly you can write your own site or facebook app where the users login to facebook with oauth. Your tv app can then relay communication through your own site / app that the user has logged into and authorized. This may be complex for a widget developer, but should not be a big deal to a web service developer.
    0
  • You are absolutely right, and except for code written by Facebook (or an authorized agent), using a proxy like you describe is the best current solution (that I know of) for facebook <-> YCTV integration.
    0

Recent Posts

in Getting Started / Beginners - Yahoo! TV Widgets