我正在尝试使用facebook api这样的朋友发送电子邮件地址
private static final List<String> PERMISSIONS = Arrays.asList("publish_actions","read_stream", "email", "user_about_me", "friends_about_me", "friends_notes");
String fqlQuery = "SELECT uid, name, pic_square, contact_email FROM user WHERE uid IN " + "(SELECT uid2 FROM friend WHERE uid1 = me())";
Bundle params = new Bundle();
params.putString("q", fqlQuery);
Session session = Session.getActiveSession();
Request request = new Request(session, "/fql", params, HttpMethod.GET, new Request.Callback()
{
public void onCompleted(Response response)
{
Log.e("log_tag", "response: "+response);
}
});
Request.executeBatchAsync(request);
但我无法获得电子邮件的成功,但是我得到了其他价值观。有人对此有所了解吗?
我还需要获得朋友的联系电话。可能吗?还指导我。
由于