18

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/reference/api/post/) next to the "type" field it says:

"A string indicating the type for this post (including link, photo, video)"

I've also tried looking through the fql documentation but didn't find anything there.

I tried looking through the facebook developer forum and found a similar question, but it hasn't been answered: http://forum.developers.facebook.net/viewtopic.php?pid=348562#p348562

1

4 Answers 4

27

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/

5
  • 4
    can't find type "swf" in developers.facebook.com/docs/reference/api but it does exist!
    – Betty St
    Jun 11, 2012 at 13:42
  • As of today, all swf posts I have found, have the same fields as the video post type does except [width] and [height]. Nov 25, 2012 at 11:26
  • great work DMCS:) I also suggest it would be great if you/someone-else can keep it updated for any new types :) Dec 10, 2012 at 14:01
  • This site is like a WIKI, please edit it and then if someone likes your edit, then it will become part of the history of revisions. As you can see, this answer was last edited on Nov 20, 2012 by Ronny.
    – DMCS
    Dec 31, 2012 at 20:06
  • The "link" post type is still showing up on my feed, but their documentation says it was a feature that was removed? Not sure what that means.
    – user1978550
    Jun 10, 2016 at 4:05
1

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

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

1
  • 2
    That's not the "type" in the context the OP is asking for.
    – david
    Dec 21, 2013 at 1:43
0

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/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.