Skip to content

Commit

Permalink
identica-http-get function has changed parameters... didn't know that…
Browse files Browse the repository at this point in the history
… :-S
  • Loading branch information
cnngimenez committed Jul 20, 2012
1 parent 6a6ba6f commit 8815046
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions identica-friends.el
Expand Up @@ -258,7 +258,9 @@ Use `identica-show-friends' to call this buffer."

(defun identica-show-followers()
(interactive)
(identica-http-get "statuses" "followers" nil 'identica-friends-show-user-sentinel '("follower"))
(identica-http-get (sn-account-server sn-current-account)
(sn-account-auth-mode sn-current-account)
"statuses" "followers" nil 'identica-friends-show-user-sentinel '("follower"))
(run-hooks 'identica-friends-show-followers-hooks)
)

Expand All @@ -274,7 +276,9 @@ Use `identica-show-friends' to call this buffer."
; (setq identica-method-class "statuses")
; (setq identica-method "friends")
; (identica-http-get identica-method-class identica-method identica-show-friend-sentinel)
(identica-http-get "statuses" "friends" nil 'identica-friends-show-user-sentinel '("friend"))
(identica-http-get (sn-account-server sn-current-account) ;; server
(sn-account-auth-mode sn-current-account);; auth-mode
"statuses" "friends" nil 'identica-friends-show-user-sentinel '("friend"))
(run-hooks 'identica-friends-show-friends-hooks)
)

Expand Down Expand Up @@ -360,7 +364,7 @@ If there are no user, return nil."
(defun identica-friends-show-user-sentinel
(&optional status method-class method parameters success-message type-of-user)
"Sentinel executed after recieving all the information from identi.ca.
This sentinel needs to know if the type-of-user(or type of list) is one of these:
This sentinel needs to know if the TYPE-OF-USER(or type of list) is one of these:
- \"friend\"
- \"follower\".
Expand Down

0 comments on commit 8815046

Please sign in to comment.