There is no dependency, I just put fbconsole.py in my /modules and did
something like this:
import fbconsole
fbconsole.APP_ID = CLIENT_ID # comes from facebook auth, (Michelle's
code)
fbconsole.SERVER_PORT = 8000
fbconsole.REDIRECT_URI = 'http://localhost:%s/tutor' %
fbconsole.SERVER_PORT
fbconsole.ACCESS_TOKEN = session.token['access_token'] # I am already
using facebook for auth, no need to Auth again.
fbconsole.LOCAL_FILE = '%s_fb_access_token' % auth.user_id
fbconsole.AUTH_SCOPE =
['publish_stream,create_event,user_events,user_photos']
photo = fbconsole.graph_post("/me/photos", {"message":"My Photo",
"source":open("/home/rochacbruno/myphoto.png")})
I think it is a good idea to have it in contrib!