One Yuan Cloud purchase QQ Interconnection callback address error solution

Source: Internet
Author: User
Tags oauth

After tracking, click on the login after the call system/modules/api/qqlogin.action.class.php inside and call the QQ Interconnect PHP Interface Sample Qc.php QC class method Qq_login. There is no qq_login this way to find qc.php. Because the QC class inherits the OAuth class. Find the OAuth class has qq_login this method, can print out $callback look, callback address has a number, go to Recorder.class.php change callback on the line. The same directory lib/qq/qqconnectapi.php this is the QQ Interconnect PHP sample import file.

It turns out to be:

$this->inc->callback = Web_path. ' /api/qqlogin/callback/';

It would be nice to change it:

Define ("Web_path2", substr (Web_path, 0,-1));
$this->inc->callback = web_path2. ' index.php/api/qqlogin/callback/';

In addition the background configuration QQ interconnection Place is

One Yuan Cloud purchase QQ Interconnection callback address error solution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.