Giter VIP home page Giter VIP logo

laravel-and-music-and-more's People

Contributors

podliy16 avatar romansaulenko avatar w01fdale avatar yeahframeoff avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

laravel-and-music-and-more's Issues

0003: FB Authorization. More LaravelAPI-friendly code

I found it useful to make some review of your code as I see some aspects that would be critical when working.

  1. 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
  2. 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.
  3. 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?
  4. Could you please return results of View::make() as the result in the end of the method?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.