如何使用黑莓 API 访问 facebook 或 twitter? [英] how to access facebook or twitter using blackberry API?

查看:48
本文介绍了如何使用黑莓 API 访问 facebook 或 twitter?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是这种使用黑莓 API 的社交网络应用程序集成的新手.

I am newbie for such kind of social networking Application integration using blackberry API.

我想开发这样一种应用程序,它可以使用可用的黑莓 api 使用 facebook 或 twitter 社交网站集成.

i want to develope such kind of application which can use the facebook or twitter social networking site integration using available blackberry api.

如何使用blackberry API 访问faceBook?是否有任何可用的 facebook 网络服务,黑莓 api 可以在其上工作和访问它?是否存在带有完整源代码的应用程序,可以使用 blackberry api 访问 facebook?

how to access the faceBook using blackberry API? Is there any webservice available of facebook on which blackberry api can work and access it? is there any application exist with whole source code for accessing the facebook using the blackberry api?

如果有人有任何解决方案或任何有用的链接或任何代码片段,我们将不胜感激.:)

if anybody has any solution or any useful link or any code snippet,which would be appreciated.:)

谢谢,米沙尔

推荐答案

Facebook 提供了一个您可以使用的基于网络服务的 API - 他们在此处提供相关信息:

Facebook offers a webservice-based API that you can use - they provide information about it here:

http://wiki.developers.facebook.com/index.php/Platform_Basics

我强烈建议使用 Sun Java Wireless Toolkit(用于 CLDC 的 Sun Java Wireless Toolkit 2.5.2_01,可在此处获得:SJW Toolkit) - 安装时使用实用程序应用程序,然后使用存根生成器"-它将为所有 Web 服务调用创建 J2ME 类和存根,然后您可以将它们引入到您的 BlackBerry 项目中.我已经使用它从 BlackBerry 调用 Web 服务,这比创建自己的 Web 服务调用包装器要容易得多.一切都将是强类型的,任何所需的对象和类都将为您创建.

I would strongly recommend using the Sun Java Wireless Toolkit (Sun Java Wireless Toolkit 2.5.2_01 for CLDC available here: SJW Toolkit) - use the Utilities application when installed and then the "Stub Generator" - it will create J2ME classes and stubs for all web service calls that you can then bring into your BlackBerry project. I have used this without fail to call web services from the BlackBerry and it is much easier than creating your own web service call wrappers. Everything will be strong typed and any required objects and classes will all be created for you.

这篇关于如何使用黑莓 API 访问 facebook 或 twitter?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆