On Monday, May 13, 2013 5:33:52 AM UTC+10, Cody wrote:
I am using Sinatra and Koala for creating a Facebook Page Tab application and am coming across the above error when the application is called inside Facebook Page tab.
Unable to understand, the primary issue for this error, as am unable to find any reason as to why this error occurs, though a possible reason I can figure out might be the parsing of signed request param sent by Facebook on application load for Facebook Page Tab.
I have tried disabling protection in Sinatra. I have observed that storing the value of the parsed_signed_request into a session key, triggers this error and when env['rack.session'] is used instead of session variable, then this error disappears though any of the following errors appear with the following message:
undefined method `options' in Hash<#
undefined method `head' in Hash<#
Want to understand why this error comes up and what is the work around to resolve this issue.