New-JavaScript-SDK---OAuth-2.0-based-FBConnect-Tutorial icon indicating copy to clipboard operation
New-JavaScript-SDK---OAuth-2.0-based-FBConnect-Tutorial copied to clipboard

Nothing happens

Open sketchee opened this issue 13 years ago • 4 comments

The demo at the tutorial works for me, but nothing happens when I use the code as-is from the site with my own id.

sketchee avatar Feb 13 '12 21:02 sketchee

Same here. I'm trying to figure it out

lumierephoto avatar Jul 17 '12 22:07 lumierephoto

This works for me. I think you need to register your app with a specific URL, and then you can use this code on that URL

ibrahimahmed443 avatar Apr 14 '13 16:04 ibrahimahmed443

Using windows 7... extract the files to c:\inetpub\wwwroot\FaceBookviaJavascript

In the file named jssdlouth2.html line 65 reads e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';

I changed it to e.src = 'https://connect.facebook.net/en_US/all.js'; ...removing the 'document.location.protocol' I was using notepad ++ and when you use the 'Launch in chrome' facility you will get file:///C:/inetpub/wwwroot/FaceBookviaJavascript/jssdkouth2.html in the address bar. Change this to http://localhost/FaceBookviaJavascript/jssdkouth2.html and it will work fine

trenzig avatar Jun 21 '13 10:06 trenzig

Thanks you Awesome Plugin :+1: It work well for me

chhumsina avatar Nov 15 '14 04:11 chhumsina