Hi Briac,
Briac Pilpre via RT wrote on Thu, Dec 27, 2007 at 03:33:37PM PST:
Show quoted text> When using CGI.pm as $facebook->query() object, it seems that there is
> no way to get the URL query string in the application.
>
> Since Facebook always makes a POST request to the server, CGI.pm bypass
> the $ENV{QUERY_STRING} parsing and only use Facebook parameters and
> POST'ed form parameters.
>
> I guess it is not really a WWW::Facebook::API bug but it is rather
> annoying. I bypass this limitation by calling, although it could have
> the side effect of having unwanted multiple values (see #31620)
>
> $facebook->query->parse_params($ENV{QUERY_STRING})
Thanks for the report, and sorry for such a late response. Do you have
any suggestions (e.g., a patch) that will integrate the parsing of the
$ENV{QUERY_STRING} into the module? Would you prefer just another
method that simply calls what you have above, or would you like it to
want it to fill in any parameters from the query string into the params
hash? As of now, I've addressed RT#31620 by adding a FAQ to the latest
version in the googlecode repo to warn against using GET. Let me know
of any suggestions,
- David
--
"The only way we can be of use to God is to let Him take us though the crooks
and crannies of our own characters. It is astounding how ignorant we are about
ourselves."
-- Oswald Chambers, My Utmost for His Highest, January 12