以下のような感じでどうぞ。
UA見て切り替えるとかしたい場合にはまた別途考えるのでしょうね。
var fbs = new FacebookStrategy(
{...},
function (accessToken, refreshToken, profile, done) {
//...
});
fbs.authorizationParams = function(){
return {display:'touch'};
};
More than 5 years have passed since last update.
以下のような感じでどうぞ。
UA見て切り替えるとかしたい場合にはまた別途考えるのでしょうね。
var fbs = new FacebookStrategy(
{...},
function (accessToken, refreshToken, profile, done) {
//...
});
fbs.authorizationParams = function(){
return {display:'touch'};
};
Register as a new user and use Qiita more conveniently