Browse files

Added methods to manipulate bookmarks counters

  • Loading branch information...
1 parent 7ba3654 commit 65d80e02e6e0be652761d693fb57d60242696b5f @dswistowski dswistowski committed Nov 18, 2010
Showing with 25 additions and 0 deletions.
  1. +25 −0 facebook/__init__.py
View
25 facebook/__init__.py
@@ -114,6 +114,31 @@ class json(object): pass
# simple IDL for the Facebook API
METHODS = {
+ #dashboard methods
+ 'dashboard': {
+ 'incrementCount': [
+ ('uid', int, ['optional'])
+ ],
+ 'decrementCount': [
+ ('uid', int, ['optional'])
+ ],
+ 'getCount': [
+ ('uid', int, ['optional'])
+ ],
+ 'setCount': [
+ ('count', int, []),
+ ('uid', int, ['optional'])
+ ],
+ 'getActivity': [
+ ('activity_ids', list, ['optional']),
+ ('uid', int, ['optional'])
+ ],
+ 'publishActivity': [
+ ('activity', json, []),
+
+ ]
+
+ },
'application': {
'getPublicInfo': [
('application_id', int, ['optional']),

0 comments on commit 65d80e0

Please sign in to comment.