Published Facebook posts using the graph API are listed as Posted by Others - facebook

I am trying to post a message with a link on my Facebook page timeline. I tried the following (following Facebook docs):
curl -F 'access_token=XXX' -F 'message=Hello World!' -F 'link=http://www.stackoverflow.com' https://graph.facebook.com/my_page_ID/feed
The post was indeed published on my page. However, it was listed under Recent Posts by Others as opposed to be posted in the page's timeline.
If I omit the link parameter. The post is published fine in the timeline.
Any idea why my posts are published under Recent Posts by Others?

Still couldn't figure out the cause of the described issue but publishing a link instead displays my message in the timeline in the right place.

Related

Facebook Open Graph Object ignores attributes

I've been trying for ages to find a solution to post my page as an inline video to facebook.
I've tried multiple meta-tags to no avail (it displays the image thumbnail and to the right the title/description/website).
I've tried using flow player to try using og:video:type:application/x-shockwave-flash but once again it showed the same exact result when attempting to share.
I've now been looking into facebook graph api for possible answers.
I thought I had something in custom open graph stories but I'm using the API v2.10 and it's been removed since 2.8 and completely removed from past versions of the API since october 2017, so that won't be a solution.
I then looked into the Open Graph Stories Object API. Once again I thought I had something but now I am stuck because the example code on the page (using curl) doesn't work no matter what I do
curl \
-X POST \
"https://graph.facebook.com/app/objects/video.other" \
-F "access_token=APP_TOKEN" \
-F "object={
'description':'This is a description',
'title':'Test Video Object',
'video':'secure_url_to_video_on_AWS\',
'url':'secure_url_to_page_on_my_website'
}"
=> {"id":"OBJECT_ID"}
curl https://graph.facebook.com/OBJECT_ID\?access_token\=\{APP_TOKEN\}
=> {
"created_time":"date",
"title":"Test Video Object",
"type":"video.other",
"id":"OBJECT_ID"
}
and when I attempt to delete it as such I get an error
curl -X DELETE https://graph.facebook.com/OBJECT_ID\?access_token\=\{APP_TOKEN\}
=> {
"error":{
"message":"Unsupported delete request. Object with ID 'OBJECT_ID' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https:\/\/developers.facebook.com\/docs\/graph-api",
"type":"GraphMethodException",
"code":100,
"error_subcode":33,
"fbtrace_id":"Cbec0ormiGq"
}
}
So Basically 3 questions:
1) Why won't facebook save the other attributes except the title and type ?
2) The Object obviously exists since I can search it so why does it say it doesn't when I attempt to delete it (same result by the way using the object browser on their developper website) ?
3) Any ideas on how to share my page and make it appear as an inline video ?
Thanks for any help.
Proper Open Graph meta tags would be the way to implement this - but it looks like Facebook is in the process of phasing this feature out.
This question Facebook Open Graph og:video tag for YouTube videos refers to a bug report on the FB developers site, https://developers.facebook.com/bugs/1963535797258090/, and there they say,
It looks like this behavior is actually by design.
In our efforts to make News Feed an even more visual and engaging place to connect, we have been introducing new design updates in News Feed beginning in August 2017.
As part of these updates and to provide a consistent experience across desktop and mobile, external video link posts (both paid and organic) on desktop will look and function similar to other link posts. People will now tap on the links to go off of Facebook to watch videos instead of watching within News Feed — mirroring the experience available for such posts on mobile.
Not sure that’s going to happen for all content publishers at the same time. Facebook usually rolls out such updates gradually, so it might still work for some, while you might not be able to get it working now for any new pages/articles you share.

how to read public timeline feed in facebook?

I need to read timeline feed in facebook public pages. I have used syntax to get the feed from timeline:
https://graph.facebook.com/v2.3/DoveIndia?fields=id,name,picture,feed
It works well and returns the feed,when facebook page not have "Posts To Page".
When Page have "Posts To Page",it only returns all posted messages on page not timeline feeds.
Example of a request(Graph API Explorer tools):
https://graph.facebook.com/v2.3/jeep?fields=id,name,picture,feed
Please suggest how can read feed from timelines?
Thanks
Sameek
/{page-id}/posts shows only the posts that were published by this page.
Source: https://developers.facebook.com/docs/graph-api/reference/v2.3/page/feed
The feed of posts (including status updates) and links published by this person, or by others on this person's profile. There are other edges which provide filtered versions of this edge:
/{user-id}/posts shows only the posts that were published by this person.
/{user-id}/tagged shows only the posts that this person was tagged in.
All of these derivative edges share the exact same reading structure, however /feed should be used for all publishing purposes.

Posts made to page wall displayed in user newsfeed without "via <application name>"

Posts made to page wall using graph api displayed in user newsfeed without "via ".
You can see axample here http://www.insidefacebook.com/2012/11/12/new-link-shows-users-more-page-posts-and-friend-activity-in-news-feed/.
Is it possible to see what application shared this post to page?
Actually you can use Graph API to find out what application created the post. Although Michael is correct in pointing that via- tag is removed by Facebook on post's display.
The "via"-attribution for posts done by apps on pages was recently dropped by Facebook.
I'm pretty sure there's no way to tell from the outside, if a post was made through an app, and which app in particular.
Compare this screenshot of what the Graph API exposes about a post (its a post we've published on http://fb.com/diesocialisten via http://www.swat.io)
Post: https://www.facebook.com/129842310398883/posts/350825491682109
There's no hint of the used app here:
Anvesh is right: you actually can get the "application"-field, but you have to query the feed itself (/diesocialisten/feed), not the particular post. Cool, didn't know that!

Unable to post links to an FB Event page using the Graph API

We are trying to publish to the feed resource of an event using the Graph API. What happens is it seems to ignore any link that we post. It also does not seem the Graph API supports any option for posting a photo to the wall of an event.
We make the call to the event feed using the following parameters:
link='http://rfid-social-media.odinrfid.com/photo?photoId=000000000000000000102107'
name='John at Facebook Party'
message='Test Message 2'
caption='What a great time'
And we publish against the url:
https://graph.facebook.com/EVENT_ID/feed
The request response does go through successfully, but the link does not show up in the UI.
We can post a link to a regular page using the Graph API without issue. It does show in the UI with the link, thumbnail, caption, etc, all as it should.
Thanks..
This is a Bug and its reported and marked as confidential
With the below text and its also contain security hole
bug report link
Below is my bug report text.
Other details on this report are shown to Facebook employees only
I recently attempted to post on an event's wall using the Graph API, but only the message is posted; Everything else is not showing. e.g.
Link
Picture
etc
There is one more big thing that the post doesn't show; That this post is post "via a Facebook app"
Note: posting on a page or user wall worked and also normal messages posted on an event 's wall.
The most important thing is when the post is shown on the event's wall "it does not show that its posted by a Facebook Application".
This is very dangerous; For example I can make an application and post nonsense on a user's wall. People will think that this is posted by the user.
Thank you so much for creating this question
For posting a photo to an event it seems to be a FB bug, subscribe and up the repo count so it gets attention
https://developers.facebook.com/bugs/225316074217855?browse=search_4f2f7576c5bc32d87041759

Facebook comments plugin doesn't show comments made on wall posts

According to Facebook, comments made through the comments social plugin will post to the user's wall. This is working, but comments subsequently made in reply to such a post on Facebook.com (as shown in this FB dev video: http://csull.in/eMMsDF) don't show up on the site with the comments plugin. I have tried everything I can think of, and while using the iFrame feedback method does work, the fb:comments method does not. Any ideas?