我正在使用 apache camel 和 facebook 组件。当我使用字符串时
<from uri="facebook://me?oAuthAppId={{oAuthAppId}}&oAuthAppSecret={{oAuthAppSecret}}&oAuthAccessToken={{oAuthAccessToken}}"/>
脸书回我
{
"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 来获得我的所有喜欢?提前致谢