• I have installed plugin, I have WeChat AppID and Secret on behalf of company account. Activated plugin and entered ID and Secret. Seems all Ok.

    I click the WeChat logo – get to WeChat QR code – scan it – confirm on phone – get 500 error on the site.

    Where should I check whats wrong?

    https://wordpress.org/plugins/open-social/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Mingbai

    (@mingbai)

    I have noticed that after I scan QR code for your site, I am called back to the link like:

    https://www.xiaomac.com/wp-login.php?code=…….

    However, when I scan QR code for my site, I am called back to the link like:

    http://mysite.cn/?connect=wechat&action=callback&code=…….

    Plugin Author Link

    (@playes)

    what exactly errer did you get?

    1, make sure you WeChat account comes from https://open.weixin.qq.com/, not https://mp.weixin.qq.com/.

    2, make sure your server have a curl function of php.

    as the differences of login link, new version can reset the callback link, with a better compatibility when error occur during login.

    Thread Starter Mingbai

    (@mingbai)

    Thanks a lot!!!! The problem was in 2 – Curl wasn’t enabled.

    Could you please, share why cURL is important for WeChat, but for example GitHub oAuth worked jsut fine without it?

    Plugin Author Link

    (@playes)

    now making progress!

    my good guess is the example you said probably use something like file_get_contents instead of cURL when it found dead.

    ps, that ring me a bell, next version i’ll learn a thing or two like that 🙁

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WeChat 500 error’ is closed to new replies.