Facebook Graph API Group Posts Not Showing Link Preview / Picture - facebook

I've created a Facebook application that successfully posts to Facebook pages, and creates the link preview with the photo successfully.
However, when posting to Groups, often the post only contains the message parameter, and does not successfully create a link preview.
I've also seen this happen with Hootsuite--all the posts to the Facebook Pages are correct, but the post to the Facebook Groups sometimes contain no link preview / picture.
Is there some undocumented Facebook functionality that is causing this to happen? I have posted some pictures with this question as well showing what I mean.
^ Here is the application posting as a Page
^ Here is the application posting as a Group, 80% of the time. (Other 20%, the link preview works correctly.)

There's limited support for posting to / reading from Groups via the API - as far as I know it does not work the same way for groups as it does for pages or user profiles, which leads to the discrepancy above - I don't think there's any other API available to make it work the way you're looking for

Related

Facebook Graph API insights

I'm new on working with Facebook and honestly I found it very confusing, terminology and documentation seems to be very ambiguous in many cases. Can somebody please help me out with a plain english explanation on how I can achive the following?
Post and image to Facebook (on the user page) and then check the stats (insights) of that post.
Till now I have managed to:
1) Create an app
2) Post the image on the user page with the desired message
I'm not able to understand how I can retrieve information about the particular image which was uploaded through my app. I want to know how many people have viewed that image, how many likes did it get, how many times it was re-shared.
Is it possible at all?
I'm posting to /photo not too /feed and I will like to keep it this way if it is possible.
Sorry if this was answered already but I spent a few hours trying to find an appropriate answer but wasn't able to get the right documentation.
UPDATE 1
After having a couple of days off from this topic and receiving the first 2 answers, I took another dive into this. Now I have tried the Graph API Explorer as suggested, and using the ID of a POST I can get some details about the POST, but the insights aren't showing anything, just next and previous.
My goal is to be able to gatther some stats about the pictures uploaded through the app. If this is not possible directly what should be the approach I need to take?
I don't believe a personal /photo has /insights attached to it - the Insights Object documentation page suggests that they do not - but you should be able to get likes, shares, and comments via the API.
It would appear FB has launched a redesign/reorganization of its documentation in the last couple of weeks, but the documentation for the /photo graph object is here -- you will need the user's Access Token, and the API endpoints you're looking for each have links to their own documentation pages there, including example code for each type of request.
Edit (summarizing discussion in comments):
There is no method via the Facebook API to gather insights for all photos posted to individual user timelines via an app. The app can gather likes, shares, and comments for each of those objects individually via API requests, and can make API requests for insights for photos posted to its own timeline. Neither of those options solves the intended use case here.
I'd recommend a solution that uses Sharing rather than an app integration, as this allows for better access to insights on the photos being shared. This is also a much simpler integration, and less brittle wrt future Platform changes. The main tradeoff is that the original photos being shared are expected to expire after a couple of months -- if this is unavoidable, I'd suggest implementing a redirect for requests for expired objects on the site.
We are able to get different kind of photos or picture Using Graph API
like as below:
1.Page Photos
Photos for a Facebook Page.A Page Access Token is required for all methods.Find here
2.Page Picture
Picture belonging to a Facebook Page. Find here
3.Photo
Represents an individual photo on Facebook. Find here
4.User Photos
Photos for a person.Find here
I hope it's helps you.

Automated Posts Made to Facebook Page Via API Can't be Seen by Users

I recently set up an HTTP poster that uses cURL, PHP and the Facebook API to post to my page's timeline.
The page is a dedicated #nowplaying page for an online radio station, so the auth token and associated facebook app is only for one user, which is myself.
The poster has been working for a few weeks, but I have only just now realised that only I can see the posts, which (as they appear to me) are made 'as the page'. Other page followers can only see a single manual post I made welcoming people to the page.
I know this might be a super user question, but I have checked all relevant page settings, and the fact that they can see manual posts by the page makes me thing it's an API/Token thing.
Q: Why can't my facebook page visitors see my automated posts?
Here is my page
Here is what I see, and what I want users to
see. Note: notice the little world logo on each post indicating that they are public.
Edit: I'm making the post over http at https://graph.facebook.com/{pageID}/feed...

Weird Facebook API behavior, read group feed

I've got strange behavior when using the FB Graph API to read the feed of a group I am administrating. Everybody in this group is posting YouTube links and I wanted to write an App to crawl them all into a nice list.
But depending on the user who posted I get one of the following results:
a) type=video and everything is fine
b) type=status and I have to parse the link from the message instead of having a link field
c) type=status and the link is not even in the message
d) some users' postings are not in the feed at all
Does anybody know how to really obtain all message? I can see those posts including the links perfectly well using the Facebook web site...
Already tried to give each and every access right to my app, didn't help either.
I think I found the "problem": The result depends on the privacy settings of the user. Don't know why I can see the posts in the group but cannot automatically crawl it, only thing that happens now: I can't use the Facebook API but have to use some kind of HTML-parsing-crawler. Don't know why FB forces me to do that.

Providing users with a way to detag their Facebook photos

I run a social membership club and my website users can log into my site with each having their own profile page.
On each of my user's profile pages, I want to display a list of photos which have been tagged with that user on Facebook. I know this part is possible.
The bit I am struggling with is giving each of my users the ability to 'untag' themselves in each photo of them that is displayed in the list. The 'untagging' should happen directly from my site. Is this possible and how could I go about doing this?
Hope someone can help/has ideas?
Unfortunately, there's no facbeook API that allows removal of photo tags at this time of writing.
Its not documented and I haven't tested this but I'd chance issuing a DELTE request to
/PHOTO_ID/tags/USER_ID
Worth a shot through the graph explorer anyway.

Facebook Like Box feed only shows when logged out

Facebook Like Box feed is empty despite there being many post by the page, or only shows posts when logged out of Facebook.
In one case the feed only shows posts made on the iPhone with location info (despite these being months older) and shows no other posts. It does this not only on the website were I have the feed embedded, but on FB's dev page preview where the like box code is generated.
This problem exists the same in all browsers.
So two solutions to this problem.
Note: not all FB pages are alike. Selective rollouts of new FB features are applied to certain pages progressively or by creation date. Thus why this problem doesn't appear in all pages.
Two causes for this feed problem:
Being logged in as an admin can cause the feed to not show all posts. Thus the problem doesn't exist for non-admins. Logging in as a non-admin or without any FB login at all shows the feed normally as it should be.
(in one case I worked with, only posts made by iPhone with Location info would show to admins, while all non-admins saw every post for the page).
Feed inactivity. If no posts have been made in a certain amount of time(I don't have an exact timeframe) the feed will show nothing, not even the "Show More" drop down. On one project (observed in Feb-March 2012), simply creating a new post fixed it instantly. Not sure how permanent or temporary this glitch is, or whether FB is/has fixed it.
Also, not sure what (if any) correlation this problem might have to linked twitter, tumblr etc accounts.