Facebook API - Adding a friend via embedded device wrapper

We have a new project, building a fully featured facebook App on an embedded device (using Java) as a part of a new home automation system. All is going well however we have hit a road block when it comes to adding friends. Our interface is a complete wrapper over the facebook UI (i.e. no browser). The only way I know how to add a friend is by sending a request to `http://www.facebook.com/addfriend.php?id=XXXX` From here, the user is prompted to add a friend. The question is how should be go about wrapping up this request (i.e. mirroring it) so the user needs to click accept or deny and then forward this request off to Facebook? AFAIK there is no API for adding friends... How can we go about mimicking this form and sending the request without having to implement a full browser? Space is also an issue so some clunky framework to try an emulate a browser window popup isnt going to work for us. Any ideas and tips would be greatly appreciated. Cheers!

以上就是Facebook API - Adding a friend via embedded device wrapper的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏