【发布时间】:2014-04-14 09:29:56
【问题描述】:
我正在尝试通过 push woosh 发送推送通知,如下所示:
有人帮我如何通过此代码在设备上发送推送通知
function pwCall(
'createMessage', 数组(
'application' => PW_APPLICATION,
'auth' => PW_AUTH,
"devices" => PW_DEVICETOKEN,
'notifications' => array(
'send_date' =>'now', //gmdate('d-m-Y H:i', strtotime('2014-04-07 20:35')),
'content' => 'my custom notification testing ',
'link' => 'http://pushwoosh.com/',
'content' => array("en" => "English","ru" =>"Русский","de"=>"Deutsch")
),
'page_id' => 16863,
'link' => 'http://google.com',
'data' => array( 'custom' => 'json data' ),
)
);
我收到诸如
之类的错误数组([status_code] => 210 [status_message] => 无法解析日期 [response] =>)
【问题讨论】:
标签: php iphone push-notification oauth-2.0 pushwoosh