PHP Facebook SDK: Facebook can not see the Redirect Uri Param -


i testing out latest facebook php sdk v5 , simple oauth login. following instructions in page here.

following instruction manage generate link here:

https://www.facebook.com/v2.4/dialog/oauth?client_id=1513255468944783&state=d3325fbba047b203a69b34d6a251b93d&response_type=code&sdk=php-sdk-5.0.0&redirect_uri%5bredirect_uri%5d=http%3a%2f%2fmarket.deremoe.local&scope= 

here code: http://prntscr.com/8rgljl

here page displays: http://prntscr.com/8rglw1

why can't see redirect_uri param in link?

the signature of getloginurl in sdk v5 is:

getloginurl($redirecturl, array $scope = [], $separator = '&') 

so should:

$loginurl = $helper->getloginurl('http://market.deremoe.local'); 

Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -