facebook / facebook-java-business-sdk

Java SDK for Meta Marketing APIs
https://developers.facebook.com/docs/business-sdk
Other
402 stars 332 forks source link

Guava Vesion too Old #344

Closed ChubChen closed 1 year ago

ChubChen commented 3 years ago

return Futures.transform( executeAsyncInternal(extraParams), new Function<ResponseWrapper, APINodeList>() { public APINodeList apply(ResponseWrapper result) { try { return APIRequestGetInsights.this.parseResponse(result.getBody(), result.getHeader()); } catch (Exception e) { throw new RuntimeException(e); } } } );

error

stale[bot] commented 2 years ago

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions.

mmorrisontx commented 1 year ago

This is still an issue @stcheng. Try compiling this project on newer versions of guava (~31) and compilation will not pass because Futures.addCallback requires three parameters now. I believe you can pass MoreExecutors.directExecutor() as the third param and that will make it happy with both 20 and 31+.

noahrenable commented 1 year ago

Still an issue. Any news on this?