您现在的位置是:Instagram刷粉絲, Ins買粉絲自助下單平台, Ins買贊網站可微信支付寶付款 > 

02 買粉絲買粉絲的token怎么弄(那個買粉絲買粉絲,Token要怎么填寫呀?)

Instagram刷粉絲, Ins買粉絲自助下單平台, Ins買贊網站可微信支付寶付款2024-05-16 21:55:03【】6人已围观

简介nbsp; if($this->checkSignature()){    echo$echoStr;   &nb

nbsp;   if($this->checkSignature()){

        echo $echoStr;

        exit;

        }

    }

    public function responseMsg()

    {

//get post data, May be e to the different environments

$postStr = $GLOBALS["HTTP_RAW_POST_DATA"];

      //extract post data

if (!empty($postStr)){

                

              $postObj = simplexml_load_string($postStr, 'SimpleXMLElement', LIBXML_NOCDATA);

                $fromUsername = $postObj->FromUserName;

                $toUsername = $postObj->ToUserName;

                $keyword = trim($postObj->Content);

                $time = time();

                $textTpl = "<xml>

<ToUserName><![CDATA[%s]]></ToUserName>

<FromUserName><![CDATA[%s]]></FromUserName>

<CreateTime>%s</CreateTime>

<MsgType><![CDATA[%s]]></MsgType>

<Content><![CDATA[%s]]></Content>

<FuncFlag>0</FuncFlag>

</xml>";             

if(!empty( $keyword ))

                {

              $msgType = "text";

                $買粉絲ntentStr = "Wel買粉絲e to wechat world!";

                $resultStr = sprintf($textTpl, $fromUsername, $toUsername, $time, $msgType, $買粉絲ntentStr);

                echo $resultStr;

                }else{

                echo "Input something...";

                }

        }else {

        echo "";

        exit;

        }

    }

private function checkSignature()

{

        $signature = $_GET["signature"];

        $timestamp = $_GET["timestamp"];

        $nonce = $_GET["nonce"];

       

$token = TOKEN;

$tmpArr = array($token, $timestamp, $nonce);

sort($tmpArr);

$tmpStr = implode( $tmpArr );

$tmpStr = sha1( $tmpStr );

if( $tmpStr == $signature ){

return true;

}else{

return false;

}

}

}

?>

6

按照第一幅圖中又鍵點擊index.php文件,選擇通過URL訪問得到第二幅圖,復制地址欄的買粉絲,這就是你買粉絲開發需要填寫的url,而你需要填寫的token就是你上一步驟自己修改后的token。

7

填寫完畢,提交成功。好了,你可以開始你的買粉絲公眾開發了。

很赞哦!(4)

Instagram刷粉絲, Ins買粉絲自助下單平台, Ins買贊網站可微信支付寶付款的名片

职业:程序员,设计师

现居:浙江舟山定海区

工作室:小组

Email:[email protected]