Difficulty in retrieving data from a link in Laravel

0

I'm developing an application with the Laravel framework along with the instagram api and I got stuck: in a given routine, I get a redirect that returns the login for my application, but the problem is that in that redirect comes a given important to be used in the application but it comes in this format that I can not use: " link ".

I've tried using Laravel's own route mechanism to try to get this data, but I did not succeed. Would anyone help me?

    
asked by anonymous 29.04.2018 / 23:05

1 answer

0

I was able to solve the problem using JavaScript, taking the hash data using "location.hash" and then removing the "# access_token=" using replace to finally isolate the final value that I wanted to retrieve from the url. p>     

07.05.2018 / 15:39