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

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

问题描述



我想开发这样的应用程序,可以使用Facebook或Twitter的社交网络使用可用的黑莓api进行网站整合。



如何使用黑莓API访问faceBook?
是否有任何可以使用黑莓api可以使用的Facebook的webservice?
是否有任何应用程序存在与使用黑莓api访问Facebook的整个源代码?如果有人有任何解决方案或任何有用的链接或任何代码片段,您可以使用
$ b

,这将不胜感激。:)



谢谢,
Mishal

解决方案

Facebook提供了一个基于Web服务的API,您可以使用它们 - 它们在此提供有关信息:



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


$ b $我强烈建议您使用Sun Java Wireless Toolkit(Sun Java Wireless Toolkit 2.5.2_01 for CLDC,可在此处使用:) - 安装时使用实用程序应用程序,然后使用存根生成器 - 它将为所有Web服务调用创建J2ME类和存根,然后可以将其带入黑莓项目。我已经使用这个,而不是从BlackBerry调用Web服务,它比创建自己的Web服务调用包装容易得多。一切都将是强大的类型,任何所需的对象和类都将为您创建。


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

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

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.:)

Thanks, Mishal

解决方案

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

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或微博?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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