mjparrott / Cap-It

Caption It Facebook game
0 stars 0 forks source link

game.js? #6

Open piggyandy opened 10 years ago

piggyandy commented 10 years ago

In this js file I see the set up code for Facebook's JS SDK and a few functions that retrieves names, pictures etc from Facebook. Do we need this file? I have a feeling it was one of the test codes we made at the early stages of the hackathon (Maybe Si Te?). Is anyone using game.js anywhere?

mjparrott commented 10 years ago

I don't think it's used anywhere, but some of the code in there could be useful to be merged with another file. In c96b6f5b7ca85967, I copied the currentUserId() function because it was useful to get the Facebook ID of whoever was logged in so I could check if they were in the current game or not.