What is not clear is how to pass those parameters: from documentation it
seems that I have to put an xml in the esb server but it does not make
sense, it's something I want to create at runtime.
Or is it a parameter I pass with the ws message context?


On Wed, Jul 30, 2014 at 6:05 AM, Malaka Silva <mal...@wso2.com> wrote:

> Hi Flavio,
>
> You can create your api (application API) whatever the way you prefer.
>
> Inside these apis you can use connectors. The advantage of using
> connectors is you can simple call methods in these connectors with given
> parameters.
>
> All the complexities and domain specific requirements when calling
> third-party APIs are encapsulated inside connectors.
>
> eg:
>
> User can simple use the following config to search.
>
> <twitter.search>
>         <search>xxx</search>
>         <geocode>40.71435,-74.00597</geocode>
>         <radius>10</radius>
>         <unit>mi</unit>
>  </twitter.search>
>
> More connectors are in the pipeline and will be released in parallel with
> esb 4.9.0 release.
>
> More information can be found with following links.
>
> [1] https://docs.wso2.com/display/ESB481/Working+with+Connectors
> [2] https://docs.wso2.com/display/ESB481/ESB+Connectors
>
> Best Regards,
> Malaka
>
>
> On Wed, Jul 30, 2014 at 5:26 AM, Flavio Pompermaier <pomperma...@okkam.it>
> wrote:
>
>> Hi to all,
>> I'm new to wso2. I found ESB connectors for social media like twitter and
>> Facebook.
>> What is the right way to connect Facebook API with my application API?
>> For example, if I have to retrieve the user details, should my app wrap
>> the call to the esb or not?
>> If I use the API manager, should I publish only my webapp APIs or the
>> Facebook APIs or the esb APIs or whatever...? do I need to register a
>> identity provider? This is not really clear to me..
>>
>> Thanks in advance,
>> FP
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> Best Regards,
>
> Malaka Silva
> Senior Tech Lead
> M: +94 777 219 791
> Tel : 94 11 214 5345
> Fax :94 11 2145300
> Skype : malaka.sampath.silva
> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
> Blog : http://mrmalakasilva.blogspot.com/
>
> WSO2, Inc.
> lean . enterprise . middleware
> http://www.wso2.com/
> http://www.wso2.com/about/team/malaka-silva/
> <http://wso2.com/about/team/malaka-silva/>
>
> Save a tree -Conserve nature & Save the world for your future. Print this
> email only if it is absolutely necessary.
>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to