10

I'm building a site in haskell and the yesod web framework as a side project, and what I'd like to do is create a facebook app that lets users search their wall and the wall of their friends and groups.

I've considered using the JavaScript SDK, cbut most of the work will happen behind the scenes in a helper function called from the postSearhR helper function, so that won't work.

Searching google for the phrase 'haskell "build facebook app"' and variants doesn't turn anything up, and a glance at hackage shows a package called happstack-facebok at version 0.30 with nothing in the way of haddock documentation. Searching SO with the haskell and facebook tags doesn't return anything useful either.

Does anyone know of an example I can use?

2

1 Answer 1

2

happstack-facebook is obsolete now anyway. Facebook changed their API significantly, for the better. (Not saying it is great... just better than before).

A good starting point now might be the authenticate library. in Web.Authenticate.Facebook:

http://hackage.haskell.org/packages/archive/authenticate/0.10.4/doc/html/Web-Authenticate-Facebook.html

there is a function, getGraphData. That should at least get you to the point of being able to access some of the facebook API.

http://developers.facebook.com/docs/reference/api/

Not sure what else is needed.

1
  • 1
    That doesn't really answer the question.
    – Dan Burton
    Nov 17, 2011 at 8:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.