Does Facebook still provide Status RSS feed URL now?
If so, where to find it?

CommentFileSizeAuthor
#29 activitystream_facebook.zip8.64 KBseanb

Comments

gilcpd’s picture

Ive been strugging to find it, subscribing

vinx2o2o’s picture

I've find two status RSS link and tried all configurations but any lines added

links:
http://www.facebook.com/MY_ACCOUNT_NAME?v=feed

http://www.facebook.com/minifeed.php?status&id=MY_FACEBOOK_IT

I've read module support links but it was not usefull
the link suggested http://www.facebook.com/feeds/status.php?id=MY_ID&viewer=1209598577&key=... no longer exist. FB remove it

any suggestions?

vinx2o2o’s picture

By now i've used this workaround find here http://www.kristi-barrow.com/facebook-rss-feeds-what-is-available/

basti said:

(I) How to get your own status feed with newer accounts

OWN status feed:
1. Make sure, you have a “Notes”-Tab in your profile. If you don’t have one, create one. You can delete it later. Write at least one Note.
2. Register a new account with facebook. You will keep your old own, don’t worry.
3. Add just one friend, yourself.
4. Log off. Log in to your regular account and accept yourself. Log on again with your secondary account.
4. Surf to: http://www.facebook.com/notes.php?friends. Click on the subscribe to your friends link on the right. It has a RSS-icon besides it. You’ll get a link with: http://www.facebook.com/feeds/friends_notes.php?…..
5. Exchange friends_notes.php with friends_status.php, leave everything else. Voila, you have your own status feed, that just includes YOUR status updates!

hadavar’s picture

vinz2o2o,

I'm somewhat of a n00b with drupal and I tried your fix but it doesn't seem to work? I tried almost everything to get my rss feed for the status update and nothing seems to work :( Please help?

Thank you!
Chi

jongwiratama’s picture

Yes! thats's work for me!!! Thnks

But now i'm trying to figure out what "flid" is and how to get it.
I've founded from another article but not clear enough to explain me....However this is his link

http://www.facebook.com/feeds/friends_status.php?id=94101280&key=1a78f3a...

with "flid=508498823062" he can makes a "single status" feed from one of his friends....
It's nice trick for separate our RSS friends status from others unexpected status...

Still struggling to find it

Thx

kpm’s picture

Some time ago I posted regarding my Facebook "XML error: Invalid document end at line 209, column 1567" error. I have searched around for a work around to the fact that Facebook seems to have killed any rss feeds to "Most Recent" or "Wall" etc. It appears we can only find RSS feeds on 'notes' or 'status' or 'friends status'... none of which I had feeding a block on a website. Nor any of which I care to feed a block on a website...

So, I too am wondering if anyone has found any resolution to this conumdrum? Or is it time to simply remove ActivityStream For Facebook on the site in question?

Thanks

kpm’s picture

Ok, i guess it is Facebooks fault, there feeds do not validate. I just tried to validate them in the W3C feed validator. They don't seem to be in any hurry to fix either, from what Google has to offer.

kpm’s picture

and to add to the confusion... on another site this module is being used, I am pulling the facebook updates with an rss url that's not even a proper rss url, but it works... well, it works in so much that the updates are being feed into a block on the site, but if someone clicks the link to the post, they are brought to the main facebook page, which is their own if they happen to be logged in, or they are taken to the login page.
The other site is pulling from a Facebook 'Fan' page though, not a user's wall or status. The url for this site that is pasted into the ActivityStream For Facebook's rss url field is "http://apps.facebook.com/minifeed.php?status&id=100000849221806" not an rss feed at all...

patcon’s picture

This should work for any facebook entity with a wall:
http://www.facebook.com/feeds/page.php?format=RSS20&id=xxxxxxxxxxx

The big number is the unique numeric ID (which all events/people/groups/pages have), and if it's not in the URL, you can find it by using graph.facebook.com/yyyyyy, with yyyyyy being the unique username (not necessarily numeric)

jackhutton’s picture

thanks for your recent post; #9 ..

I tried this; remedy. Rendering the page alone the xml data renders.
http://www.facebook.com/feeds/page.php?format=RSS20&id=133650406967

When i use it as a link in the user account for the activitystream Facebook Status RSS feed URL: http://www.facebook.com/feeds/page.php?format=RSS20&id=133650406967

Run Cron to update and this error shows:

Message A feed could not be found at http://www.facebook.com/feeds/page.php?format=RSS20&id=133650406967

the stream is not updating.. anyone able to help me figure out what I'm doing wrong here.
thanks

hypertext200’s picture

Status: Active » Fixed
http://www.facebook.com/feeds/status.php?id=FACEBOOKID&viewer=FACEBOOKID&key=5e35fdee0b&format=rss20

eg:

http://www.facebook.com/feeds/status.php?id=652116749&viewer=652116749&key=5e35fdee0b&format=rss20
jackhutton’s picture

Thank you for your response, heshan..
i see the structure of your url.. and the fact that you url renders data..
the user & viewer are the same id;
when i replace those values w. my user's,.. it doesn't render, of course..
Then there's a key - how did you get a unique key for access here.. what am I asking of Facebook & the person on the account to get this to render.. obviously fb's added layers of security here.

again. thanks for the assist here.

jackhutton’s picture

http://www.facebook.com/feeds/status.php?id=<USER ID>&viewer=<USER ID>&key=<SECRET KEY>&format=rss20

patcon’s picture

For those of you looking for something a little more flexible and advanced, use this:
https://graph.facebook.com/USERNAME_OR_ID/feed?date_format=U&limit=50

You

It returns JSON data instead of RSS, but

Along with these modules:
- Feeds module
- Feeds tamper module
- Feeds jsonpath parser module
- Custom filters module

Set up a stand-along feeds importer for each feed stream (Facebook, Youtube, Vimeo, Twitter) -- they all have their own API's. Use the jsonpath or xpath parser modules to parse the feed, whatever it is. Have it import into a pre-setup content type that you make -- something like a "Social stream item" content type or whatever. Add a CCK text field for "Source", and have each importer add that manually. You'll want to use Feeds Tamper to play around with all the parsed content. And use custom filters module to do things like links Twitter @mentions, #hashtags, and www.links.com within text. All the importers can create that single "Social stream item" node type, but you can have each apply a different default filter so that only Twitter gets the @mention/#hashtag filter.

I'll post up a feature once I get myself set up, and hopefully it will explain itself. Solves the issue where perhaps the body and title of the activitystream don't get formatted how you'd like. This is a really versatile solution for me so far, and the API offers so much more info (like how many times a twitter status was favourites or retweeted, or how many times a facebook status was Liked, or what the profile photo url is for a poster). Really cool stuff.

I'm experimenting with it, and while it's not an out-of-the-box solution, it's capable of WAAAAY more than Activity Stream, and totally packagable in features.

patcon’s picture

https://developers.facebook.com/docs/reference/api/ for full graph API docs.

Oh hey, and the "feeds" link above is essentially for wall posts, and only works for public access ones (pages or users).

Here's an awesome json viewer tool: http://jsonviewer.stack.hu/

jackhutton’s picture

thanks patcon.. the stream IS a 'Page' so maybe the feeds solution will work for me.. I look at your notes & those modules.. thank you .
let me/us know when you post the 'feature' thanks

jackhutton’s picture

patcon. doesn't appear that the custom filters module has any versions attached to it?

http://drupal.org/project/custom_filters

do you mean customfilter
http://drupal.org/project/customfilter
?

thanks

patcon’s picture

@eggonbeagle Ah yes, definitely the latter :)

jackhutton’s picture

well. trying to follow the steps outlined. .. but getting tied up..
downloaded the modules; created a contenttype.; added a cck field..

went to sitebuilding -- feed importers & created a new importer..
basic settings, named & attached to my content type.

then there are 'fetcher settings" which appears to be http
Settings HTTP Fetcher Auto detect feeds or Use PubSubHubbub (is toggled auto detect)

parser settings;
Common syndication parser / CSV parser / OPML parser / Sitemap parser (didn't do much here.. looks as though common syncdication parser is selected )

options for commonsyndication parser.. pretty much empty..

Processor Feed Node processor / Node processor /Taxonomy term processor.. (node processor..2nd choice. is selected .. should it be the first choice - feed node processor.. ?)

Node processor - point this to my new content type; input format: default ,

and.. "Add a CCK text field for "Source", and have each importer add that manually." .. and now I'm getting into the forest.. here.
thanks

jackhutton’s picture

I did find this online to find the api key for facebook..
http://www.blog.web6.org/how-to-get-facebook-api-key/

I'll try this approach & return to the activity stream module to see if i can get the content to render..
...

jackhutton’s picture

looking at facebook_stream module.. still cannot get a simple facebook wall post to render.. grr.

patcon’s picture

@eggonbeagle, just to confirm, my suggestion is NO a simple solution. You'll need to use some complicated things like jsonpath queries to pick the information you want. It will also be much easier if you're somewhat familiar with feeds.

You don't want to attach your importer to a content type, you want to leave it stand-alone and access it at www.mysite.com/import. (Use HTTP fetcher)
You'll want to install "Feeds jsonpath parser" module so that it will show up as a new parser.
You'll want to use a Node processor, and choose the mappings that you'd like. Once you've created them, go back to the jsonpath parser Settings and define the jsonpath queries. (This tool helps write those queries: http://jsonviewer.stack.hu/) Read the jsonpath parser module's issue queue for some example of the format, but the base should be something like $.data[*]

Anyhow, like I said, it's not the simpler route if you're not a technically oriented person. Took me about 4 hours of messing about, and I've used feeds before. But next time, since it's packaged in a Feature, it will take me all of 30 seconds :)

Anyhow, good luck with it if you keep at it!

jackhutton’s picture

patcon. thanks the direction - I need to get familiar w. using/employing feeds & json & this is as good as any place to start ; i'll so aome more research & trial on this .. but I want to thank you for your patience & support!!
-

starbearer’s picture

Could anyone outline the steps in more detail for this?
Several hours of brain-wracking and I'm still stuck with nothing.

jackhutton’s picture

starbearer.. I took a break from this.. looked at another approach but it isn't what I want. i'm going to look at this again too..maybe we can figure it all out..

patcon’s picture

@starbearer, can you explain how far you got? Do you know Feeds well? Could yet set up an importer and understand where parser/fetcher/processor plugins come into play? A full walk-through would honestly take me bout an hour to type up, so more info would be helpful so I know what to explain, as opposed to "all of it". You can always ping me on irc and it'd be way simpler :)

WilliamB’s picture

Well i got the feed url from facebook.
But when i add it to theagregator it doesnt return any items, even though if i visit the url i see there are items.

Facebook is doing something to their feed.

So how can i get an RSS feed? I need to agregate it with other social website feed...

Drupal 7 btw.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

seanb’s picture

Status: Closed (fixed) » Needs review
StatusFileSize
new8.64 KB

For a client of ours we needed this functionality to work. Because the RSS functionality is not working anymore, I changed this module to accept a facebook profile ID and then get the status messages with the facebook Graph API. I attached a zip file with the new module. You can use this to create a next version or do whatever you want.

The only thing I had trouble with was the following:
The privacy setting for your own messages and pictures has to be set to Everyone for the Graph API to access your data. If you have the privacy set to Friends Only and then change it to Everyone, this will only work for new messages. All your old status updates were posted for Friends Only, so they won't appear in your activity stream. I had some trouble figuring this out so just a little heads up...

Enjoy!

gregbeat’s picture

I was having the same issue eggonbeagle had in #10. Trying the same solution offered in #9. However, I stumbled across this atom format:

http://www.facebook.com/feeds/page.php?format=atom10&id=xxxxxxxx

Which seems to work when inserted as a "Feed URL" in the default section of the activity stream module form. G

jackhutton’s picture

Gregbeat! Hat's off to you! That's the proper construct for the URL..
used the 'atom' .. profile id. .then ran cron & the updated content is in place. Thanks!!!
seanB's approach looks promising.. i haven't tried it yet. it'd be great to be able to add images from the fb posts..but this will suffice.. thanks

aaronbauman’s picture

Status: Needs review » Needs work

Link from #30 doesn't work
Here's the message I receive from that page:

This feed URL is no longer valid. Visit this page to find the new URL, if you have access, http://www.facebook.com/profile.php?id=xxxxxx

Where xxxxxx is the facebook account id.

aaronbauman’s picture

Status: Needs work » Needs review

#29, however, works great, and since it's based on Facebook's API makes a lot more sense than the RSS workaround magic.
Thanks, seanB

settings back to "needs review" for #29

smira’s picture

try with the page id, not the account id. notice the link sais page.php...

jweedman’s picture

#30 Works great.

@gregbeat - Thanks for the heads up. Entered it into the "Feed Url" text area just like you said, and it pulls it correctly - Icon and all.

If anybody else is wondering - I sort of got hung up on this - you cannot use your Username as the "id" parameter in the URL. It has to be your Facebook Profile ID (numerical).

You can find this by logging into the Facebook account you want to pull statuses from, then click "Edit Info" next to your username. The resulting page's URL has your Facebook ID in it. For example "https://www.facebook.com/pages/edit/?id=1234567890&sk=basic", then "1234567890" is your Facebook ID you'll need to plug into the Feed Url. Then just be sure to RUN CRON & FLUSH CACHES.

Hope that helps clear up one of the steps. Thanks again guys for all your research and time figuring this out.

- jweedman

aaronbauman’s picture

OK, I see.
It's working great, but only for Facebook Pages (not Facebook Profiles/Friends).

I still think plenty of folks might want to use Activitystream with Profiles status updates, so #29 is still a useful contrib.
Should it be posted as a different module, or what?

aaronbauman’s picture

Status: Needs review » Needs work

if a activity stream vocab is enabled, #29 kills drupal with:

Fatal error: Call to undefined method stdClass::get_categories() in modules/activitystream_facebook/activitystream_facebook.module on line 36
ClemsHad’s picture

Category: support » feature
Priority: Normal » Major

how to get Facebook Status RSS feed URL of a group?

red_gizzmo’s picture

You can use the old version of the facebook activity stream. Then you use the Graph API Explorer. You can find this here https://developers.facebook.com/tools/explorer/
In the Get path, you use the ID of your wall or your Page you want to get the feed from.
Then you use the button "Get Access Token" to get an access token for this Facebook ID.
You can also specify that you only want the statusses.

Your full url will then be something like this:
https://graph.facebook.com/PAGE_ID/statuses

You can use the given Access Token to get the full feed-url:
https://graph.facebook.com/PAGE_ID/statuses?access_token=Your_Access_Token

Hopefully this will help others a bit.
I have checked in Chrome's incognito mode, and I get all the statusses of my page in a nice xml.

Now I am going to check to get the feed working in a drupal page. I come from another CMS system, so still learning how this works....

patrick bee’s picture

I can confirm that this method works.
It's a little confusing getting the mappings right but I trust that will just take some experimentation.
It's a shame that this comment isn't linked from the Facebook Parser page, it's really crucial info.