add this api in flex3
in one flex application, i have to implement the addthis api, means i have to give options of sharing the application on social media like facebook, twitter etc, there is one api provided by
addthis.com
bt i am not getting how to work in to this, i m still using开发者_如何学运维 flex3, as ma project is in flex3,
can n e body have n e idea of how to use these sharing api, in to flex, thanx in advance
It looks like you should start with the API Documentation page for the site: http://www.addthis.com/help/api-overview
I am not at all familiar with the service, but from the docs, it seems that there is a jQuery API and a REST-like interface that the jQuery lib uses.
It seems like you have two options:
If you are hosting your flex app in the browser, you might see if you can access the jQuery library to get at the service via the browser.
Consider using the REST-like api that they have exported directly in Flex. You would use the HTTPService to access the API: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/rpc/http/HTTPService.html
Good luck!
精彩评论