Displaying 1 result from an estimated 1 matches for "capture_facebook_friends_if_avail".
2008 Jun 03
2
Order of authentication methods is causing unnecessary call to API?
...ng the auth key authentication method, this caused me
to notice that secure_with_token is given precedence in the code:
def set_facebook_session
returning session_set = session_already_secured? ||
secure_with_token! || secure_with_facebook_params! do
if session_set
capture_facebook_friends_if_available!
Session.current = facebook_session
end
end
end
This seems wrong to me since secure with token makes a round trip to
Facebook and secure_with_facebook_params! does not.
Any thoughts or insights?
Dave
-------------- next part --------------
An HTML attach...