Facebook metadata for posts#

Hint

Consult Metadata evaluation for an explanation of the evaluation system included in the column Int. Data.

1CATLISM, 229-233

Data points from facebook-scraper for posts1CATLISM, 229-233#

Table 5.21 #

Attribute name

Type

Int. Data

Description

available

bool

SID + PID

Whether the content is available or not at the time of scraping – may depend on either Facebook or the creator of the content

comments

number

SID

Number of comments the post has received

comments_full.*

array

[SID]

Array of JSON objects, each one containing details for one comment. The list is empty if the –comments argument was not used to collect the data

comments_full.0.comment_id

string

PID

The unique ID of the comment

comments_full.0.comment_image

string

PID

Direct link to the image contained in the comment

comments_full.0.comment_reactions

object

[SID]

A dictionary containing the reactions posted to the content and the number of times each has been used, using the same structure as reactions

comments_full.0.comment_reactions_count

number

SID

Total number of reactions the comment has received

comments_full.0.comment_reactors.*

array

[SID]

Array of JSON objects, each one containing details about the user who sent each reaction, using the same structure as reactors.*

comments_full.0.comment_text

string

SID

The textual content of the comment

comments_full.0.comment_time

string

SID

Date and time when the comment was posted, in the format YYYY-MM-DD HH:MM:SS

comments_full.0.comment_url

string

PID

Full URL to the comment

comments_full.0.commenter_id

string

PID

The unique ID of the author of the comment

comments_full.0.commenter_meta

string

SID + PID

Label assigned to the author of the comment in relation to its status in e.g the group or page where the comment was posted to. For example, “Top fan”

comments_full.0.commenter_name

string

SID

The name of the author of the comment, as defined by the user

comments_full.0.commenter_url

string

PID

Full URL to the author of the comment’s profile page

comments_full.0.replies.*

array

[SID]

Array of JSON objects each containing data-points regarding the reply to the comment, structured using the same name/value pairs as the ones used for the comment except for the replies.* one

factcheck

string

PID

The label describing why the content has been marked as “fake” by Facebook verification systems

header

string

PID

String of text as it appears at the top of the post when browsing the content, e.g. “User X shared a link.”

image

string

SID + PID

Full URL to the post’s image as appearing in the post’s previews

image_id

string

SID + PID

The unique ID of the image included in the post

image_ids.*

array

[PID]

List of unique IDs of the images included in the post

image_lowquality

string

PID

Full URL of the image automatically reduced in quality by Facebook

images_description.*

array

[PID]

Array of strings, each one containing the textual description generated by Facebook image recognition system of the images contained in the post. E.g. “”May be an image of 1 person, child, street”

images_lowquality_description.*

array

[PID]

Array of strings, each one containing the textual description generated by Facebook image recognition system of the low quality version of the images contained in the post

images_lowquality.*

array

[PID]

Array of strings, each one containing the full URL of the low quality version images (automatically created by Facebook) contained in the post

images.*

array

[SID]

Array of strings, each one containing the full URL of the images attached to the post

is_live

bool

SID

Whether the content contains a live video or not

likes

number

SID

Number of likes the post has received

link

string

SID

Full URL of the link included inside the post’s contents

links.*

array

[SID]

Array of JSON objects each containing a link and the text it appears in among the ones included in the post’s comments

links.link

string

SID

Full URL of the link included inside a post’s comment

links.text

string

SID

Plain-text version of the comment containing the relative link

original_text

string

SID

Not working as of facebook-scraper v.0.2.59; it should contain the version(s) of the content prior to one or more edits

page_id

string

PID

Unique ID of the page linked to the post contents

post_id

string

PID

The unique ID of the post

post_text

string

SID

Plain-text version of the textual content of the post

post_url

string

PID

Full permanent URL to the post

reaction_count

number

SID

The total number of reactions the post has received

reactions

object

[SID]

A dictionary containing the reactions posted to the content and the number of times each has been used. Possible reactions are “like”, “love”, “wow”, “care”, “sad”, “angry”, “haha”; only the ones used in the post are included

reactors.*

array

[SID]

Array of JSON objects, each one containing details about the user who sent each reaction

reactors.0.link

string

PID

Full URL to the author of the comment’s profile page

reactors.0.name

string

SID

The name of the author of the comment, as defined by the user

reactors.0.type

string

SID

The type of reaction, among one of the following types: “like”, “love”, “wow”, “care”, “sad”, “angry”, “haha”

shared_post_id

string

PID

Unique ID of the content shared inside the post

shared_post_url

string

PID

Direct link to the shared content

shared_text

string

SID

Text string of the description that is assigned when the post is shared

shared_time

string

SID

Date and time when the content was shared, in the format YYYY-MM-DD HH:MM:SS

shared_user_id

string

PID

Unique ID of the creator of the shared content

shared_username

string

SID

Full name of the creator of the shared content

sharers.*

array

[SID]

An array of JSON objects, each one containing details about the user who shared the post

sharers.link

string

PID

The link to the profile of the user who shared the content

sharers.name

string

SID

The name of the user that shared the content

shares

number

SID

Number of times the post has been shared on Facebook

text

string

SID

Plain-text version of the textual content of the post

time

string

SID

Date and time of creation of the post, in the format YYYY-MM-DD HH:MM:SS

timestamp

number

PID

Unix time timestamp of the creation of the post

user_id

number

PID

Unique ID assigned by Facebook to the user account

user_url

string

SID + PID

Full URL to the user’s profile (this may contain the username or a label selected by the user)

username

string

SID

Plain-text description of the user’s profile as created by the user theirselves; it also includes the account’s description (if any)

video

string

SID + PID

Direct URL to the video in the post

video_duration_seconds

number

SID + PID

Duration of the video in second (only applicable if the video is not from an external source, e.g. Youtube)

video_height

number

PID

Height of the video in pixels (only applicable if the video is not from an external source, e.g. Youtube)

video_id

string

PID

Unique ID assigned by Facebook to the video file (only applicable if the video is not from an external source, e.g. Youtube)

video_quality

string

PID

A string identifying the quality of the video, e.g. “HD 720p” (only applicable if the video is not from an external source, e.g. Youtube)

video_size_MB

number

PID

Size of the video in megabytes (only applicable if the video is not from an external source, e.g. Youtube)

video_thumbnail

string

PID

Full URL to the video’s preview image

video_watches

number

AID

Number of times the video has been watched (only applicable if the video is not from an external source, e.g. Youtube)

video_width

number

PID

Width of the video in pixels (only applicable if the video is not from an external source, e.g. Youtube)

w3_fb_url

string

PID

The direct link to the content

was_live

bool

SID

Whether the content was streamed live on Facebook or not

with.*

array

[SID]

Array of JSON objects each containing a link and a textual description of the contents hyperlinked in the post

with.link

string

PID

Full Facebook link to the included content

with.name

string

PID

A string identifying the included content, e.g. “post”