
我想将照片发布到朋友的墙上.
但我登录到我的帐户说test@gmail.com,但现在我想发布到我的朋友墙上.
我有我所有的朋友ID和姓名.
是否可以通过登录我的帐户在朋友墙上发布图片?如果是这样,怎么可能?
解决方法:
try{ Bundle parameters = new Bundle(); JsONObject attachment = new JsONObject(); try { attachment.put("message", "Messages"); attachment.put("name", "Get utellit to send messages like this!"); attachment.put("href", link); } catch (JsONException e) { } parameters.putString("attachment", attachment.toString()); parameters.putString("message", "Text is lame. Listen up:"); parameters.putString("target_ID", "XXXXX"); // target ID in which you need to Post parameters.putString("method", "stream.publish"); String response = authenticatedFacebook.request(parameters); Log.v("response", response); } catch(Exception e){} 总结 以上是内存溢出为你收集整理的Facebook在Android上的朋友墙上发布全部内容,希望文章能够帮你解决Facebook在Android上的朋友墙上发布所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)