【发布时间】:2016-03-13 15:03:41
【问题描述】:
我正在使用 apache camel 和 facebook 组件。当我使用字符串时
<from uri="facebook://me?oAuthAppId={{oAuthAppId}}&oAuthAppSecret={{oAuthAppSecret}}&oAuthAccessToken={{oAuthAccessToken}}"/>
facebook 回复我
{
"name": "Some Myname",
"id": "my id"
}
现在我想获得我所有的“喜欢”。根据 facebook api,我应该这样写:me?fields=likes。所以我试过这个uri
<from uri="facebook://me?fields=likes&oAuthAppId={{oAuthAppId}}&oAuthAppSecret={{oAuthAppSecret}}&oAuthAccessToken={{oAuthAccessToken}}"/>
但它不起作用。我应该如何写这个 uri 来获得我的所有喜欢? 提前致谢
【问题讨论】:
标签: apache-camel jbossfuse facebook4j