JoakimB
JoakimB

Reputation: 167

Facebook API feed not showing caption/messege

I have a facebook feed, built on Facebook API. It works pretty well. But I have one problem. It seems like I can't catch some text from some status messeges.

Below you can see the API feed.

This is how the API-feed looks like

The two "empty" posts are these on Facebook:

On facebook

This is the call to get json (Token removed):

https://graph.facebook.com/v2.10/216896781666302/?access_token=*******&locale=sv_SE&date_format=U&fields=posts.limit(2){caption,message,picture,from,link,source,properties,icon,actions,is_hidden,is_expired,likes,comments,shares,status_type,object_id,created_time,updated_time,type}

The problem: I do not get the following texts: "Kultur Karlshamn har uppdaterat sin adress." and "Kultur Karlshamn har uppdaterat informationen i avsnittet Om". And I can not find any clear answer on this problem. Why do I not get the header/texts? What field am I missing in my API/json-call?

This is the data I get: enter image description here

Upvotes: 0

Views: 281

Answers (1)

C3roe
C3roe

Reputation: 96316

The text of those posts that are created automatically can be found in the story field.

https://developers.facebook.com/docs/graph-api/reference/v2.10/post:

story: Text from stories not intentionally generated by users, such as those generated when two people become friends, or when someone else posts on the person's wall.

Upvotes: 1

Related Questions