Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook Graph Post object feed Type

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

like image 895
Andrew Haller Avatar asked Jul 29 '11 16:07

Andrew Haller


2 Answers

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/

like image 90
DMCS Avatar answered Sep 29 '22 19:09

DMCS


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.

like image 37
user2768 Avatar answered Oct 03 '22 19:10

user2768