Comments (8)
https://docs.oracle.com/javase/8/docs/technotes/guides/net/proxies.html
This doc may help you~
from facebook-java-business-sdk.
For now, you can modify the APIRequest.java file and add Proxy as argument to url.openConnection(). https://docs.oracle.com/javase/7/docs/api/java/net/URL.html#openConnection(java.net.Proxy)
I'm also working on decoupling network from other logic, so that you can customize it for your use case. The change will come with next version.
from facebook-java-business-sdk.
I have applied a temp fix to unblock development in IDE. You can pull the latest code. Meanwhile i'll try to figure out if there is a better way of resolving the issue. Thanks!
from facebook-java-business-sdk.
Jiaming, can you add example how to set proxy with NetworkCustomizationExample.java because I can't find a way for adding proxy.
from facebook-java-business-sdk.
Can you elaborate on how to set the proxy? Looking through the APIContext
, I don't see an option where the proxy can be added
from facebook-java-business-sdk.
Alright. I cloned and setup project in eclipse/inteliJ but getting errors "incompatible types" for many classes. Can you tell how I can checkout/setup sdk project. Thanks
from facebook-java-business-sdk.
Hi, the source code can still be compiled by apache maven. You can install by following instructions on https://maven.apache.org/install.html
"incompatible types" is an issue that I'm working on right now.
It's due to Java's type erasure implementation of generic and some compiler might throw compilation errors. After type erasure, the parseResponse() function of APINode has the same signature as parseResponse() in subclasses, however List is not a super class of List<[sub class]>.
from facebook-java-business-sdk.
The customization of sending GET/POST/DELETE requests is added in latest version, which can be used to change your network proxy. You can refer to example/NetworkCustomizationExample.java.
from facebook-java-business-sdk.
Related Issues (20)
- adSet/reach-estimate does not exist in SDK HOT 1
- AdsInsights gives json parse error when fetching breakdown link_url_asset HOT 5
- Application does not have permission for this action, Please retry this action in a few minutes
- Futures.addCallback is deprecated HOT 3
- Create adset failed
- Create adset failed
- Add `depends_on` support for Batch Request HOT 1
- Async Insights - Exception while parsing image_asset field HOT 3
- lead fetch fail
- Missing `targeting_automation` field in Targeting HOT 2
- AdCreative with `asset_feed_spec` is not creating the Ad with Website destination HOT 1
- not compatible with latest guava HOT 1
- Why the `VALUE_MAXIMUM ` has been replaced with `VALUE_LIFETIME` in AdsInsights.EnumDatePreset in v19.0.1? HOT 5
- There is no Summary attribute on Insights and Campaigns
- When can we expect v20 release for java sdk HOT 1
- https://graph.facebook.com/ahmedvedohyperdjtracks/get
- Facebook Java Business SDK v20 jar is not available
- ArrayIndexOutOfBoundsException on invalid postal code
- Not able to get all conversations from instagram
- Accessing Business User Insights for Multiple Users Using the Instagram API
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from facebook-java-business-sdk.