I hereby claim:
- I am racerpeter on github.
- I am racerpeter (https://keybase.io/racerpeter) on keybase.
- I have a public key whose fingerprint is 5536 94D3 574C 3242 4366 3975 8A1D 9192 92F7 EFA6
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
PG = ( typeof PG == 'undefined' ? {} : PG ); | |
PG.FB = { | |
init: function(apiKey) { | |
// create the fb-root element if it doesn't exist | |
if (!document.getElementById('fb-root')) { | |
var elem = document.createElement('div'); | |
elem.id = 'fb-root'; | |
document.body.appendChild(elem); | |
} | |
package com.phonegap.facebook; | |
import java.io.IOException; | |
import java.net.MalformedURLException; | |
import org.json.JSONArray; | |
import org.json.JSONException; | |
import org.json.JSONObject; | |
import android.app.Activity; |