title: Sending ParsePush notifications with Back4App
body: <p>Before migrating to Back4App from Parse, I could easily send a push notification like this by querying the Installation object of the user I want to send a push notification to:</p>
  
  <pre><code>    private void handleLikeNotification(ParseObject messageObject) {
          String userId = messageObject.getParseObject(ParseConstants.KEY_SENDER_AUTHOR_POINTER).getObjectId();
          String result = messageObject.getString(ParseConstants.KEY_NOTIFICATION_TEXT);
  
          // Initiate installation query
          ParseQuery&lt;ParseInstallation&gt; pushQuery = ParseInstallation.getQuery();
          pushQuery.whereEqualTo("userId", userId);
  
          // Create push notification
          ParsePush push = new ParsePush();
          push.setQuery(pushQuery);
          push.setMessage("Liked by " + ParseUser.getCurrentUser().getUsername() + ": " + result);
          push.sendInBackground();
  
  
          // Check condition and send push notification
          if (!userId.equals(ParseUser.getCurrentUser().getObjectId())) {
              send(notification);
          }
  
      protected void send(ParseObject notification) {
          notification.saveInBackground(new SaveCallback() {
              @Override
              public void done(ParseException e) {
                  if (e == null) {
                          // success!
  
                  } else {
                          // notification failed to send!
  
                  }
              }
          });
       }
  </code></pre>
  
  <p>I have followed their documentation and my Receiver works correctly because I can send myself and my users notifications through their dashboard.</p>
  
  <p>My question for StackOverflow is why can't I create and send push notifications like this through my app? This identical code works for my app that's still hosted by the original Parse hosting solution.</p>
  
  <p>My push notifications are now being served by GCM, so I suppose I need to send them using a GCM class but I don't know where to look.</p>
  
  <p>My best assumption at this point is that the <code>ParsePush</code> class doesn't work with my current configuration. What is the alternative?</p>