You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found it useful to make some review of your code as I see some aspects that would be critical when working.
Could you make your app id and client server as some const variables outside the index method so that we soon can easily move them into app/config/app.php
I would strongly recommend you use Session facade to work with session data instead of using native php method. That thing is critical because pure-php session_destroy() would delete some crucial extra data (e.g. "_token" in forms) stored by the Laravel framework.
Could you please explain in simple words how the process goes in facebook? As I see, when user not logged follows the link, he sees request for access to his personal data. After that the browser is redirected and here the request should be caught by the controller and the access token should be extracted from the response. I'm wondering: does the facebook use this token to access the API method, or he needs some additional temporary token that is retrieved from the first token and that is used to make calls to api and that expires in some period of time?
Could you please return results of View::make() as the result in the end of the method?
The text was updated successfully, but these errors were encountered:
yeahframeoff
changed the title
0003: FB Authorization. More FrameworkAPI-friendly code
0003: FB Authorization. More LaravelAPI-friendly code
Jul 31, 2014
I made some fixes in branch 0003-feature-develop-yeahframeoff-fix that solve the problems 1 and 2. Check them out and let me know what you think of it.
I found it useful to make some review of your code as I see some aspects that would be critical when working.
app/config/app.php
Session
facade to work with session data instead of using native php method. That thing is critical because pure-phpsession_destroy()
would delete some crucial extra data (e.g. "_token" in forms) stored by the Laravel framework.View::make()
as the result in the end of the method?The text was updated successfully, but these errors were encountered: