Facebook Graph Post object feed Type

后端 未结 4 1186
暗喜
暗喜 2021-01-30 11:30

Does anybody know all the possible \"types\" for a facebook Post object?

According to the documentation for the Post object (http://developers.facebook.com/docs/referenc

相关标签:
4条回答
  • 2021-01-30 12:19

    You can find a list for Graph v4.0 here (search for status_type): https://developers.facebook.com/docs/graph-api/reference/v4.0/page/feed

    The type of a status update. Values include:
    
    added_photos
    added_video
    app_created_story
    approved_friend
    created_event
    created_group
    created_note
    mobile_status_update
    published_story
    shared_story
    tagged_in_photo
    wall_post
    

    Though these are listed for Page feed documentation, but I guess it's the same for others as well. I couldn't find it any place else. Also note mobile_status_update is a legacy one kept for backward compatibility. See this: https://developers.facebook.com/bugs/564448573658836/

    0 讨论(0)
  • 2021-01-30 12:22

    there actually is (an uncomplete) list here:

    API Reference › FQL › stream

    11 - Group created
    12 - Event created
    46 - Status update
    56 - Post on wall from another user
    66 - Note created
    80 - Link posted
    128 -Video posted
    247 - Photos posted
    237 - App story
    257 - Comment created
    272 - App story
    285 - Checkin to a place
    308 - Post in Group
    

    and also a reverse-engineered addition here

    0 讨论(0)
  • 2021-01-30 12:25

    The documentation (https://developers.facebook.com/docs/graph-api/reference/v2.0/post/) has been revised. The type field of a Post can refer to

    enum{link, status, photo, video}
    

    This contradicts the reply by DMCS, presumably things have moved on.

    I should stress that a Post is

    an individual entry in a profile's feed.
    

    Given this definition, the type field seems slightly misleading, since it refers to the content of a Post. I believe a Post of type=link is an individual entry in a profile's feed that contains a URL, similarly, a Post of type=photo contains a photo and type=video contains a video. A Post type=status contains any other content.

    0 讨论(0)
  • 2021-01-30 12:32

    The

    Photo

    http://developers.facebook.com/docs/reference/api/photo/

    Video

    http://developers.facebook.com/docs/reference/api/video/

    Link

    http://developers.facebook.com/docs/reference/api/link/

    Docs say it has been deprecated, but it seems to still be an actively used post type.

    Status

    http://developers.facebook.com/docs/reference/api/status/

    Checkin

    http://developers.facebook.com/docs/reference/api/checkin/

    Feature was removed

    Question

    http://developers.facebook.com/docs/reference/api/question/ outdated

    if the access token is for an application/page, then you might be able to see

    Review

    http://developers.facebook.com/docs/reference/api/Review/ outdated

    not an active page

    Offer

    http://developers.facebook.com/docs/reference/api/offer/

    feature was removed

    Event

    https://developers.facebook.com/docs/graph-api/reference/event/

    0 讨论(0)
提交回复
热议问题