The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Facebook Activity Stream Quandary

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
Facebook Activity Stream Quandary Posted: Jun 11, 2009 5:37 AM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Facebook Activity Stream Quandary
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Cincom Smalltalk Blog - Smalltalk with Rants

Advertisement

I'm having a problem with the Activity Stream interface for Facebook. The relevant details on how to get an Atom feed of the stream is here:

For example, if the user ID is 44444, your application ID is 12345, your active session key is BBBBB, and your application secret is WWWWW, then the signature needs to be the MD5 hash of:

app_id=12345session_key=BBBBBsource_id=44444WWWWW

The MD5 hash of app_id=12345session_key=BBBBBsource_id=44444WWWWW is
9d27f75779c650e5769d64f28b7b7e4e, so the actual URL you would pass in this case would be:

http://www.facebook.com/activitystreams/feed.php?source_id=44444&app_id=12345
&session_key=BBBBBsig=9d27f75779c650e5769d64f28b7b7e4e&v=0.7&read

Desktop applications should compute signatures precisely the same way, except that the session secret should be used instead of the application secret.

I'm doing that, and getting a 403 Unauthorized, invalid signature. If I omit the version argument, I get a 401, claiming that I haven't got extended permissions (which I know I have here). Using their example, I get the same MD5 hash, so I'm utterly baffled as to what's happening here...

Technorati Tags: ,

Read: Facebook Activity Stream Quandary

Topic: Modeling and Mapping in ObjectStudio Previous Topic   Next Topic Topic: Some Publicity isn't Good

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use