The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Facebook Interface Progress

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 Interface Progress Posted: May 5, 2009 1:32 PM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Facebook Interface Progress
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've been plugging away at my Facebook interface, mapping the API listed here. I've got the whole Stream API covered now, and I ran into an interesting thing there. Here's the code I use to retrieve status updates:


connection login.
connection getSession.

statuses := connection streamGet.

The Status object has a status_id that looks like this: 103102927728. However, let's say you want to use that ID to grab all the comments to that update, or remove it, or add a new comment. Well, in that case you don't have the full ID yet - you need to prepend the user id you're using. So if your user id is 666777888, then the id to pass is '666777888_103102927728'. It took me a bit to figure that out, but now the API is working as I expect, and I was able to add comments, remove them, add posts, and remove those.

You can grab the work in progress from the public repository - package FacebookConnect.

Technorati Tags: ,

Read: Facebook Interface Progress

Topic: That Scream You Hear is the Cable Companies Previous Topic   Next Topic Topic: Friday's Digest #11 [Kanban, GTD, Economy]

Sponsored Links



Google
  Web Artima.com   

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