Skip to content
Browse files

bit more on the readme

  • Loading branch information...
1 parent 7e7abc2 commit f54a5b93223a100fde3e633c1763e546949a0f9b Andy McKay committed Apr 22, 2010
Showing with 29 additions and 20 deletions.
  1. +29 −20 README
View
49 README
@@ -7,29 +7,38 @@ Hopefully more to come.
Example usage:
-~/git/python-facebook-graph $ python fbgraph.py andymckay
-User: andymckay
+ >>> import fbgraph
+ >>> fb = fbgraph.FacebookUser('andymckay')
+ >>> fb.base["name"]
+ u'Andy McKay'
+ >>> fb.base.keys()
+ [u'first_name', u'last_name', u'link', u'id', u'name']
-base
-----------------------------------------
-{u'first_name': u'Andy', u'last_name': u'McKay', u'link': u'http://www.facebook.com/andymckay', u'id': u'568756182', u'name': u'Andy McKay'}
+Or...
-home
-----------------------------------------
-None
+ ~/git/python-facebook-graph $ python fbgraph.py andymckay
+ User: andymckay
-feed
-----------------------------------------
-{u'data': []}
+ base
+ ----------------------------------------
+ {u'first_name': u'Andy', u'last_name': u'McKay', u'link': u'http://www.facebook.com/andymckay', u'id': u'568756182', u'name': u'Andy McKay'}
-tagged
-----------------------------------------
-{u'data': []}
+ home
+ ----------------------------------------
+ None
-posts
-----------------------------------------
-{u'data': []}
+ feed
+ ----------------------------------------
+ {u'data': []}
-picture
-----------------------------------------
-????JFIF??;CREATO ...
+ tagged
+ ----------------------------------------
+ {u'data': []}
+
+ posts
+ ----------------------------------------
+ {u'data': []}
+
+ picture
+ ----------------------------------------
+ ????JFIF??;CREATO ...

0 comments on commit f54a5b9

Please sign in to comment.
Something went wrong with that request. Please try again.