utahstreetlabs/mogli — pull request #6 by dlamacchia (2011-10-13 22:15:54+00:00)
Title: On receiving a 403 (Forbidden) when user permissions are strict, handle this

Handle 403 response code when posting to a user's wall is forbidden (for example). Response is similar to:

```
data=>#{"message"=>"(#210) User not
visible", "type"=>"OAuthException"}}, @response=#,
@headers={"access-control-allow-origin"=>["*"], "cache-control"=>["no-store"], "content-type"=>
["text/javascript; charset=UTF-8"], "expires"=>["Sat, 01 Jan 2000 00:00:00 GMT"], "pragma"=>["no-cache"],
"www-authenticate"=>["OAuth \"Facebook Platform\" \"insufficient_scope\" \"(#210) User not visible\""], "x-fb-
rev"=>["457598"], "x-fb-server"=>["10.32.242.128"], "connection"=>["close"], "date"=>["Thu, 13 Oct 2011
21:09:06 GMT"], "content-length"=>["71"]}>
```