mmangino/mogli — Issue #99: overridden method get_and_map in AppClient
Author: mperice
Created: 2012-02-02 13:06:18+00:00
State: open

Hi!

In commit #c5341e32fe55a232eb1dc711010d86f172cf5500 added overriding method get_and_map in AppClient model causes an error when trying to authenticate as an app using the create_and_authenticate_as_application method, for instance when trying to delete an AppRequest:

client = Mogli::Client.create_and_authenticate_as_application(Facebooker2.app_id, Facebooker2.secret)
app_request = Mogli::AppRequest.find(request_id, client)
app_request.destroy

With the code above I get an OAuthException 'Unknown path components: /23402843..', if I comment out the method in AppClient, it works fine.