Hi all...
I new to develop in APE and I need to create a user notify system into
a web site.
I don't understand how to send an inlinepush data to a single user and
not to all.
To allow this user have to join in a channel on core.start or not?
My PHP code to send data is:
$APEserver = 'http://domain:6969/?';
$APEPassword = #psw#;
$messages = array(
'Notify'
);
$cmd = array(array(
'cmd' => 'inlinepush',
'params' => array(
'password' => $APEPassword,
'raw' => 'postmsg',
'channel'=> 'testchannel',
'pipe' => '593bbc59403c9289e1e2728882a0f1ea',
'data' => array( //Note: data can't be a string
'message' => $messages[0]
)
)
));
$data =
file_get_contents($APEserver.rawurlencode(json_encode($cmd)));
return var_dump(json_decode($data));
APE server tell me that message was pushed correctly but i can't get
it.
Login into website with 2 different user I get, for all 2, the same
pubId... is this the problem?
I have to sent inlinepush to pubId or sessionId?
Tkx to all
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/