How Can I Identify a Facebook Pages Post Type?
Question
How can I determine whether a Facebook Pages post is a photo, video, link, text post, or another type?
Environment
Connector: Facebook Pages
Answer
The Facebook Graph API does not return a direct post type value for page posts. As a result, there is no column you can use to determine a post type. However, you can infer the post type from the following columns:
- Use the
status_typecolumn to identify the general action associated with the post. For example,added_photosmay indicate a photo or album post,added_videomay indicate a video post, andshared_storymay indicate a shared post. - Use attachment-related columns, such as
attachmentsorchild_attachments, to identify whether the post includes media, links, albums, or other embedded content. - Use the
sourcecolumn to identify posts that include video or external media. - Use the
full_picturecolumn as a signal that the post includes an image. - If the post has only message text and no media, attachment, source, or picture fields, it is likely a text-only post.
These fields are indirect indicators, so the inferred post type may not match how Facebook displays the post type.