Skip to content

Commit ca60d6d

Browse files
author
armaanbindra
committed
trying to fix reponse error
1 parent 50f272a commit ca60d6d

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

index.html

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -163,21 +163,6 @@ <h5 id="warning">Incorrect username/password</h5>
163163
xfbml : true, // initialize Facebook social plugins on the page
164164
version : 'v2.2' // point to the latest Facebook Graph API version
165165
});
166-
FB.getLoginStatus(function(response){
167-
if(reponse.status == "connected"){
168-
FB.api(
169-
"/me",
170-
function (response) {
171-
if (response && !response.error) {
172-
//console.log(response);
173-
var firstName = ""+response.first_name;
174-
var lastName = ""+response.last_name;
175-
$(".playerUsername").html(firstName);
176-
prepareGameStage();
177-
}
178-
}
179-
);}
180-
else{ return;}
181166
});
182167
};
183168

0 commit comments

Comments
 (0)