Facebook API Javascript Client (no server side)
Is it possible to use the javascript sdk from facebook without any server? Kinda like the @anywhere platform for tw开发者_StackOverflow社区itter.
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.
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!
精彩评论