Comments (2)
The code provided by adagli that you refer to does not address the original problem described in issue #3, which was "API Error Code: 3...". This error was corrected by a server-side change and the issue was closed.
Why do you need to incorporate the change suggested by adagli? I'm not sure what problem his code fixes. You shouldn't need to use URLs that start with https://api.facebook.com/method/..., so I don't believe any changes to the SDK are required.
For example you can make a wall post as follows:
Bundle parameters = new Bundle();
parameters.putString("method", "stream.publish");
String attachments = URLEncoder.encode("{"name":"Name=Title","href":"http://www.google.fr/\",\"caption\":\"Caption\",\"description\":\"Description\",\"media\":[{\"type\":\"image\",\"src\":\"http://www.kratiroff.com/logo-facebook.jpg\",\"href\":\"http://developers.facebook.com/\"}],\"properties\":{\"another link":{"text":"Facebook homepage","href":"http://www.facebook.com\"}}}");
parameters.putString("attachment", attachments);
mAsyncRunner.request(parameters, new WallPostRequestListener());
You shouldn't need to use https://api.facebook.com/method/stream.publish or need any changes to the SDK.
from facebook-android-sdk.
If Facebook corrected their bug and allow using ?method= that'sfine to me.
But I cannot test it since I am in vacations with no access to my office nor Internet...
Thank you for your help :).
from facebook-android-sdk.
Related Issues (20)
- Log into Facebook HOT 2
- Log into Facebook HOT 2
- iphone.png (372×76) HOT 2
- Forgot password | Can't log in | FacebookI'm using Gboard to type in English (US) (QWERTY). You can try it at: https://gboard.app.goo.gl/qiZQq HOT 2
- ConcurrentModificationException on FetchedAppGateKeepersManager.getGateKeepersForApplication HOT 3
- Something isn't right - ID.mehttps://www.facebook.com/marcydigregorio?mibextid=9R9pXO HOT 2
- https://acrobat.adobe.com/id/urn:aaid:sc:VA6C2:067a3018-d35c-4efb-b098-c9c74bc00f06 HOT 2
- Feature Request: AppLinkData
- Facebook App open twice when trying to log in (App & Chrome)
- registerCallback has never called
- Facebook login (Android SDK & iOS SDK & Web OAuth2) not providing email address to application when user changes email address on Facebook HOT 6
- APPs crash in 64bit only device HOT 2
- Auto app event logging feature make UI performance down
- KatanaProxyLoginMethodHandler.tryAuthorize java.lang.NullPointerException - Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object referenc
- [ANR] in InstrumentUtility getInstrumentReportDir
- [ANR] in com.facebook.internal.instrument.InstrumentManager.start$lambda-0
- Invalid APP_EVENTS warning log
- Build failed on AGP 4.2.2 when target/compileSdkVersion 34 HOT 4
- ANR: Input dispatching timed out (8a3ddeb com.picsart.studio/com.facebook.FacebookActivity (server) is not responding. Waited 5002ms
- Unexpected "Invalid app id" error HOT 1
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-android-sdk.