lib/mambanation/base.rb in mambanation-0.1.15 vs lib/mambanation/base.rb in mambanation-0.1.16
- old
+ new
@@ -138,12 +138,12 @@
end
#
# Posts
#
- def user_posts(id)
- perform_get("/users/#{id.to_i}/posts.json")
- end
+ def user_posts(id,app_id)
+ perform_get("/users/#{id.to_i}/posts.json", :query => { :fb_application_id => app_id })
+ end
def create_post(id, app_id, post)
perform_post("/posts", :body => { :post => post , :user_id => id , :fb_sig_app_id => app_id})
end