Mercurial > pumpbridge
diff views/index.jade @ 12:f190abf340ef
fixed some problems with facebook (caused by developers.facebook.com) removed fql :D
author | Mathias Gebbe <mgebbe@intevation.de> |
---|---|
date | Thu, 12 Jun 2014 10:23:05 +0200 |
parents | 9d17cb5147ca |
children | c5bf4e02958e |
line wrap: on
line diff
--- a/views/index.jade Thu Jun 12 01:08:00 2014 +0200 +++ b/views/index.jade Thu Jun 12 10:23:05 2014 +0200 @@ -37,12 +37,12 @@ gapi.signin.render('gp-root', { 'callback': 'signinCallback', - 'clientid': 'GOOOGLEPLUSCLIENTID', + 'clientid': 'GOOGLEPLUSCLIENTID.apps.googleusercontent.com', 'redirecturi': 'postmessage', 'response_type' : 'code', 'accesstype': 'offline', 'approvalprompt': 'force', - 'cookiepolicy': "https://yourserver.org", + 'cookiepolicy': "https://pumpbridge.me", 'requestvisibleactions': 'http://schemas.google.com/AddActivity', 'scope': 'https://www.googleapis.com/auth/plus.login https://www.googleapis.com/auth/userinfo.email' }); @@ -108,10 +108,10 @@ cache: true }); - $.getScript('//connect.facebook.net/en_UK/all.js', function () { + $.getScript('//connect.facebook.net/de_DE/all.js', function () { FB.init({ - appId: 'FACEBOOKID', - status : true + appId: 'FACEBOOKCLIENTID', + status: true }); FB.getLoginStatus(function(response) { @@ -149,7 +149,7 @@ //Not logged in //alert('you cancelled login or did not fully authorize.'); } - }, {scope: 'publish_actions,publish_stream,read_stream,read_friendlists,user_friends,user_likes,user_activities'}); + }, {scope: 'publish_actions,publish_stream,read_stream,read_friendlists,user_likes,user_friends,user_activities,user_status'}); }) //$('.logoutbutton').on('click', function(e){