SAE Pengyou PHP SDK

Rating: No reviews yet
Downloads: 34
Released: Sep 18, 2010
Updated: Sep 19, 2010 by shinyzhu
Dev status: Stable Help Icon

Downloads

Application SaePengyou
application, 4K, uploaded Sep 19, 2010 - 34 downloads

Release Notes

腾讯社区开放平台PHP SDK之SAE修改版

  • 新浪的SAE不允许curl,所以不能直接使用腾讯社区开放平台的PHP SDK
  • 修改后的SaePengyou类跟原来的类完全一致

示例代码

$py = new SaePengyou(APPID, APPKEY, APPNAME);

$openid = $_GET['openid'];
$openkey = $_GET['openkey'];

// 获取当前登录用户的个人信息
$user = $py->getUserInfo($openid, $openkey);

echo $user['nickname'];//输出用户昵称

Reviews for this release

No reviews yet for this release.