Comments (3)
I understand that the /PROFILE_ID/feed method supports "message, picture, link, name, description" arguments. Does that imply that support for "attachment" has been discontinued with the Graph API?
If yes, then is there an alternative to "attachment" in the Graph API?
from facebook-android-sdk.
Maybe I am answering my own question here but would the structure of the "attachment", using Graph API be something like the following, instead of what I had earlier:
{
"link": "#",
"name": "Gamay Beaujolais",
"description": "Rated 2 out of 5. Price: $12.95 Wine Type: Red Wine Winery: Colchuga winery Region: Southern Chile Country: Chile Notes: Good"
}
It would be good to get a confirmation.
Also, how would I go about fitting this into the Example application that was included in the SDK.
Thanks.
from facebook-android-sdk.
eldolor - currently POSTing to user/feed in the Graph API doesn't support the addition of arbitrary metadata like stream.publish does (http://developers.facebook.com/docs/reference/rest/stream.publish), although you can specify the name, caption, description, link, picture, etc. as flattened form parameters.
If you need to post extended properties, you should use the old API call for now.
Hope this helps.
Arjun
from facebook-android-sdk.
Related Issues (20)
- 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
- Is this repository live? No answers from Facebook employees to many critical issues
- ANR:Input dispatching timed out (4b6b26a xxx/com.facebook.FacebookActivity (server) is not responding. Waited 5005ms for FocusEvent(hasFocus=true)) HOT 1
- There was a problem using Facebook version 12.3.0 integration login
- Log In with Patreon confirmation HOT 1
- Automatic event fb_sdk_settings_changed collects private user data
- Different performance when share the same link by web or native handler.
- Is somebody here from Facebook to solve almost 8 years old serious bug??? Your (and our) users are really angry https://github.com/facebook/facebook-android-sdk/issues/1216 HOT 1
- Use CustomTabActivity to open Fallback Feed Link to fix Embedded WebView Error HOT 1
- SDK impacted by CVE-2022-25647
- SDK should use isDebugEnabledField instead of BuildConfig.DEBUG
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.