Discussions

Ask a Question

Firefox Push Notification on Android

Hi! I was trying to click on "See it in Action" button on Pushcrew website on Firefox Android. But it did not ask me for Push Permission. So, is Firefox on Android supported?

Firefox Push Notification on Android

Hi! I was trying to click on "See it in Action" button on Pushcrew website on Firefox Android. But it did not ask me for Push Permission. So, is Firefox on Android supported?

Where is the PushCrew JavaScript present?

For installing the push crew javascript , i need this file.

Subscriber with problems

In last days,I saw some crazy problems, some users haven't receive push notification and others in the same group receive normaly, all this users have push notification ID, and have notification "alow" for pushcrew in browser and I checked the the permition and everything are okay. What I can check also?

PHP REST API parameter

Hi guys, on creating a segment, can I pass "actions" and "locations" parameters with the PHP REST API, too? Or can I only pass the "name" parameter? Best regards Matthias

Send to an Individual Subscriber

I don´t know whats is wrong. Im trying to senda test to a subscribed user using php. could you help me <?php $title = 'Titulo de Test'; $message = 'Test'; $url = 'http://segsoftware.com.br'; $subscriberId = '919fd2eec1c0e0304655a355a62e3fc0'; $apiToken = 'df06e4a9c1507e4f73945928375131d9'; $curlUrl = 'https://pushcrew.com/api/v1/send/individual/'; //set POST variables $fields = array( 'title' => $title, 'message' => $message, 'url' => $url, 'subscriber_id' => $subscriberId ); $httpHeadersArray = Array(); $httpHeadersArray[] = 'Authorization: key='.$apiToken; //open connection $ch = curl_init(); //set the url, number of POST vars, POST data curl_setopt($ch, CURLOPT_URL, $curlUrl); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($fields)); curl_setopt($ch, CURLOPT_HTTPHEADER, $httpHeadersArray); //execute post $result = curl_exec($ch); $resultArray = json_decode($result, true); if($resultArray['status'] == 'success') { //success //echo $resultArray['request_id']; //ID of Notification Request echo("sucess"); } else if($resultArray['status'] == 'failure') { //failure echo("erro1"); } else { //failure echo("erro2 " . $result); } //echo($subscriberId); ?>

set uo file

i have used the javascript code but it is giving error 8 Uncaught TypeError: Cannot read property 'push' of undefined window_pcq is undefined. Why is this so?? i need the setup files to use pushcrew notifications

Remove subscriber from a particular segment

Can I use this to remove a subscriber from the global segment? It doesn't appear to be working.. If not, you should really update your documentation because I've spent a couple of days building under the impression that I could add a one click opt-out to our site.

REST API 400 BAD Request

{ "status": "failure", "message": "URL cannot be empty" }

Test

Test