Giter Site home page Giter Site logo

Comments (3)

eldolor avatar eldolor commented on April 26, 2024

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.

eldolor avatar eldolor commented on April 26, 2024

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.

arjunbanker avatar arjunbanker commented on April 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.