The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Building a Facebook Connect API

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
Building a Facebook Connect API Posted: May 4, 2009 11:31 AM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Building a Facebook Connect API
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

Last night I got some inspiration, and started taking a look at the Facebook Connect API. It didn't look too hard to deal with, and other than a couple of brain cramps on my part (quickly solved with help from the Smalltalk IRC channel), I got a basic interface created. Right now I can make API calls manually; I still have to actually create something useful to work with :)

Here's what I have so far, as the most basic way to make an API call:


url := 'http://api.facebook.com/restserver.php'.
parms := OrderedCollection new.
parms add: 'method' -> method.
parms add: 'api_key' -> apiKey.
parms add: 'v' -> '1.0'.
^FacebookAPI new
	executeAPIWithParameters:  parms 
	withKey: apiKey 
	withSecret: secret

To work with it, you'll need to go get an API key (along with a secret key) from Facebook. From There, it's all pretty simple. I've published it into the public repository - don't expect much yet, I put the barebones interface there as a starting point.

Technorati Tags: ,

Read: Building a Facebook Connect API

Topic: Secure Environments Wander Away from the Mainstream Previous Topic   Next Topic Topic: Monticello publishing in VisualWorks 7.7

Sponsored Links



Google
  Web Artima.com   

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