📌 📄 内容摘要:
༺o༻ (@muxui) 在 WordPress想对接liunxdo,然后获取用户的时候被cf拦截了 中发帖
public static function get_token_linuxdo($arg,$type,$code){
$arg['code'] = $code;
$arg['grant_type'] = 'authorization_code';
$arg['redirect_uri'] = B2_HOME_URI.'/open?type='.$type;
$res = wp_remote_post($arg['url'],
array(
'method' => 'POST',
'body' => $arg,
)
);
if(is_wp_error($res)){
...
────────── 链接信息 ──────────
🔗 论坛链接: linux.do
📎 访问地址: https://linux.do/t/topic/748295/1
─────────────────────────────
📢 来源:LINUX DO