Skip to content
/ weChat Public

WeChat php class: send message to specific user by fakeid, get fakeid to openid mapping, Login session keeping etc

Notifications You must be signed in to change notification settings

t57root/weChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#WeChat php class.

###Functions:

  • send message to specific user by fakeid
  • get fakeid to openid mapping
  • Login session keeping

There's some bugs in HttpClient.class.php. i've made a patch as shown below:

--- old/HttpClient.class.php    2270-01-13 02:20:48.000000000 +0800
+++ new/HttpClient.class.php  2013-04-14 03:23:33.057576718 +0800
@@ -42,8 +42,10 @@
     function HttpClient($host, $port=80) {
         $this->host = $host;
         $this->port = $port;
+        $this->cookie_host = $host;
     }
     function get($path, $data = false) {
+        $this->postdata='';
         $this->path = $path;
         $this->method = 'GET';
         if ($data) {
@@ -336,4 +338,4 @@
     }   
 }

About

WeChat php class: send message to specific user by fakeid, get fakeid to openid mapping, Login session keeping etc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages