Is it possible to use the javascript sdk from facebook without any server? Kinda like the @anywhere platform for twitter.
-
Your use of the phrase "without any server" is kind of confusing. If you meant "without writing any server-side code", then yes, that's the point.Mike Ruhlin– Mike Ruhlin2011-02-09 14:52:58 +00:00Commented Feb 9, 2011 at 14:52
-
Facebook's dev stuff changes quite a bit... Does using the JS SDK, at least for your needs, require the use of an "application secret" to decrypt a user's cookie and get their authorization token? I remember needing that before for some Facebook integration I did for a previous project a while back.David– David2011-02-09 14:53:09 +00:00Commented Feb 9, 2011 at 14:53
-
The idea is that the client become self-sufficient. Kinda like a twitter client on desktop (it needs the web for the pin, but that's it)Daniel Ribeiro– Daniel Ribeiro2011-02-09 15:35:59 +00:00Commented Feb 9, 2011 at 15:35
-
I know this is quite old, but you should edit this question and include that you wanted to make it work locally. i.e. Facebook API JS Client locally (no server-code). When reading the thread, it currently makes no sense.Léon Pelletier– Léon Pelletier2013-01-22 19:02:24 +00:00Commented Jan 22, 2013 at 19:02
2 Answers
I've solve the problem: You can use it without a server, however, you will have to set site correctly. If you can't be sure what the url will be (it can start with file, but you don't know the middle), then hosting online is the only solution, even if no callback is needed.
1 Comment
Reading the Javascript SDK documentation and browsing the SDK on github, you can see that you only need your server to host the html page that includes the facebook JS library almost just like @Anywhere!!
No need to contact your server for any Facebook processing, if you don't want to!