用户生成Android照片

时间:2013-07-01 23:09:27

标签: android facebook-graph-api facebook-opengraph facebook-apps

Facebook的文档说:

image[{array-index}][url]
image[{array-index}][user_generated]

如何将其放入Bundle

我正在做

params.putString("image","<url>");

我也试过

Bundle temp = new Bundle().
temp.putString("url","<url>");
temp.putString("user_generated",true);

params.putBundle("image",temp);

但它无效

1 个答案:

答案 0 :(得分:0)

答案很简单:

p.putString("image[0][url]", "<url>");
p.putBoolean("image[0][user_generated]", true);