How to programmatically push content to Facebook Page wall? - facebook

Fact: if I manually add a link to my page's wall, that link will show up in the news feed of any Liker's of my page. Example: user Joe likes http://facebook.com/soccer-page. Sam, who is the admin of soccer-page, posts a link to the wall of soccer-page, Joe sees that link show up in his news feed.
Question: using .NET or jQuery, how can I programmatically add a link to a page's wall, such that once it's added, the link will show up in all the Likers' news feeds? In the case of the example above, let's say I have a task that runs once a day that grabs the latest soccer-related article from an RSS feed. I want that task to post it for me to the soccer page's wall.
Any info would be greatly appreciated! Thanks.

Look at this article
I found FacebookService.API.stream.publish(...);
EDIT: And i found better one Post stories to your facebook wall from asp.net web app

Answer can be found here - facebook c# sdk - The user hasn't authorized the application to perform this action

Related

Is there a setting to stop Facebook page posts that appear in the news feed showing my own name?

When I post as my Facebook page persona, chronoglimpse, I don't want my own name to appear at the bottom in the news feed.
I've searched through Facebook's docs but I have had no luck finding an answer. Can adding my name be turned off?
chronoglimpse Facebook page
Link to target post, included for those interested only.
I think Facebook is grabbing this information from the meta tags on the shared link:

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!

Comments social plugin for Action post

I have an app app1 which defines a custom Facebook action act1.
When a user performs this action to an entity (ntt1) in my app, I post to API /me/app1:act1 with URL to ntt1 as its param, so that a post is generated on user's wall saying User act1'ed ntt1 where ntt1 is a link to ntt1's view page (with open graph meta data on its header).
Users can comment or like on this wall post regularly.
Now I want to show users' comments on ntt1's web page as well to share the comments and likes between the Facebook wall and ntt1's view page.
I tried using the Comments social plug-in, but don't know what to put in the data-href to point to the action_instance_id of the wall post.
I know I can simulate a comments box on my page using the graph API (and I've already done so), but this is not making a good ux, because the users need to authorize to my application to view this page (so that the java script API can fetch the comments from the Facebook).
Have you tried just pointing the data-href attribute to
https://www.facebook.com/{user_name_or_id}/activity/{action-instance-id}
…? The docs for using actions say this is the URL you can use to “preview” the news feed story that this published action will generate (or rather has already generated, because without publishing the action first, you would not have an action-instance-id).
If you click on the “x minutes/hours/… ago” link for the feed story for one of your published actions, it should take you to a link that’s build using the same scheme.

Is there a way to get RSS feed of facebook page?

Problem: I want to display the posts from my facebook page on a PHP page.[When there is a new post on the facebook page, my PHP page should also render the same]
Way1: If there is a way to get a RSS feed of the facebook page i can parse the RSS and display it in the PHP page. But i am not able to find a way to get the RSS feed.
Way2:Another way is to use FB Api. But what API can i use? Never worked with facebook API's so any help would be great.
Any other way to solve the problem is welcome!
Facebook has a universal page RSS feed:
https://facebook.com/feeds/page.php?id=PAGE_ID_HERE&format=rss20
You may simply retrieve and sanitize the data accordingly.
Good luck!
That doesn't seem to work for me (perhaps it's a privacy settings thing?) If you want everything on your wall (not just your own status posts, go to your notifications page and select RSS at the top where you have the options of getting either Text Message alerts or an RSS feed of what's on your wall.
Step 1:
Find your Facebook ID of the page:
http://findmyfacebookid.com/
Step 2:
Add the ID at the end of following url string
http://www.facebook.com/feeds/page.php?format=rss20&id="ADD HERE ID NUMBER ONLY"
e.g.
facebook.com/feeds/page.php?format=rss20&id=100001463662167

Can you subscribe to a facebook page via rss?

I have created a page and I would like users to be able to subscribe using rss (similarly as twitter). The only possibility I see is a subscription to notes, not the wall. Any ides how this can be done?
There is no RSS feed for Profile Walls due to the complexity, permissions and the amount of posts to walls.
There is only RSS for notes:
Example:
http://www.facebook.com/feeds/notes.php?id={target_user_id}&viewer={viewer}key={key}&format=rss20
This works for personal pages, but I don't think it works on other pages: To get everything on your wall (not just your own status posts), go to your notifications page and select RSS at the top where you have the options of getting either Text Message alerts or an RSS feed of what's on your wall.
For every page on facebook the RSS url is:
https://www.facebook.com/feeds/page.php?format=rss20&id=xxxxxxx
Where xxxxxxx is the page id. for example the ID for ubuntu page is 6723083591. so
https://www.facebook.com/feeds/page.php?format=rss20&id=6723083591
is the RSS feed to that page.
mauris answer while may have been valid in '09 it is possible to get the page feed :-)