From time to time it was easy to distinguish between desktop and web applications, but today, while reading, while in the documentation, I noticed that this difference is less pronounced.
I use the Facebook :: Graph module to create a desktop application, but I canβt go beyond the configuration. I am stuck at the authentication stage:
my $ q = Plack::Request->new($env); $fb->request_access_token($q->query_param('code'));
( http://metacpan.org/pod/Facebook::Graph )
He continues to tell me that "$ env is required." Reading the documentation, I realized that Plack only deals with web applications.
( http://metacpan.org/pod/Plack::Request )
Can you confirm this? If not, how do I go about this step?
It would be impossible to get access_token using Mechanize and then make a GET request, as described in the documentation, but I don't want to complicate my existence, so if there are other ways ...
source share