3
J'essaie de demander plusieurs champs de l'API graphique. L'utilisation du code ci-dessous écrase les valeurs précédentes.Facebook graphique-api android
params.putString("fields", "id");
params.putString("fields", "email");
params.putString("fields", "picture");
params.putString("fields", "birthday");
JSONObject json = new JSONObject(mFacebook.request("me",params));
Cependant quand j'utilise
params.putStringArray("fields", new String[]{"id", "email", "picture", "birthday"});
produit:
Bundle[{fields=[Ljava.lang.String;@44a04bb8}]
Toute personne fait face à ce problème?
Merci d'avance.
GOT IT !!! params.putString ("fields", "id, email, gender"); – user648387