Morgin Posted July 31, 2019 Posted July 31, 2019 2 hours ago, tonyv said: Engagement without substance is at best overrated, more accurately useless. I want substance, not clicks. I don't need their noses in an app if they're only gonna click LIKE and not write anything. It’s an assumption that increasing engagement decreases substance. I disagree with that assumption for my own community, but I suppose that is very dependent on each community and the type of content you have to begin with. tonyv and Joel R 2
Lauren3 Posted October 21, 2019 Posted October 21, 2019 On 5/14/2019 at 8:13 AM, Jack M said: Facebook group is crushing my community Facebook is crushing ALL communities 🙂
tonyv Posted October 21, 2019 Posted October 21, 2019 1 minute ago, Lauren3 said: Facebook is crushing ALL communities 🙂 Not mine. Facebook is not allowed on my community. Lauren3 and Allegheny 1 1
Lauren3 Posted October 22, 2019 Posted October 22, 2019 8 hours ago, tonyv said: Not mine. Facebook is not allowed on my community. good one 🙂
Marquinhos Posted November 16, 2020 Posted November 16, 2020 (edited) On 5/16/2019 at 6:53 AM, Matt said: Sales figures mean nothing sadly. There's little point investing a lot of energy into a system that does not work on one of the top two phone platforms. I think we're on Web 5.0 by now. I would agree, other than push notifications which require an app for iOS. Take a look at https://firebase.google.com/ its provide a full solution for native/apps/web in one place, and the best Cloud Messaging (FCM) is no-cost and it can be handled by php with a simple http 1.1 API: <?php $request = new HttpRequest(); $request->setUrl('https://fcm.googleapis.com/fcm/send'); $request->setMethod(HTTP_METH_POST); $request->setHeaders(array( 'content-type' => 'application/json', 'authorization' => 'key=<CONFIG_SERVER_KEY>' )); $body = [ "to" => "<user-firebase-token>", "time_to_live" => 259200, "data" => [ //Some custom stuff "update"=> true, //you can tell the service worker to self update "actions"=> [["action"=> "ok", "title"=> "OK"],["action"=>"link", "title"=>"Acces","link"=>"https://forum.com"]], //Send somo actions to compose buttons "actionsUrl"=> {"link"=>"https://google.com"}, //and ask to open another url ], "notification": [ "body" => "Fancy Notification", "title" =>"Small Tittle", "image"=> "https://cdn.forum.com/monthly_2020_09/log.png.c10d6f024b155b08ab5f46d029749b42.png", //think on send topic first image "click_action"=> "https://invisioncommunity.com/forums/topic/451842-why-not-offer-push-notifications-solution/" // ], "fcm_options"=> [ "analytics_label"=> "forum-push" ] ]; $request->setBody(json_encode($body)); try { $response = $request->send(); echo $response->getBody(); } catch (HttpException $ex) { echo $ex; } At front-end with service worker (supported by all modern browsers) // If you would like to customize notifications that are received in the // background (Web app is closed or not in browser focus) then you should // implement this optional method. messaging.onBackgroundMessage(function(payload) { console.log('[firebase-messaging-sw.js] Received background message ', payload); // Customize notification here const {notification} = payload; const {data} = payload; data.click_action = notification.click_action; const {title} = notification; const notificationOptions = { requireInteraction: true, //Some default options data: data, ...notification }; console.log(notificationOptions); //Show notification return self.registration.showNotification(title, notificationOptions); }); More details: https://github.com/firebase/quickstart-js/tree/master/messaging All you need to do is handle the token from firebase to user, and then in the service queue send notifications to user when needed. When the user has the focus on the web page you can handle the notifications in the UI. It will work on all top users and technologies. Edited November 16, 2020 by Marquinhos
Morgin Posted November 16, 2020 Posted November 16, 2020 2 hours ago, Marquinhos said: Take a look at https://firebase.google.com/ its provide a full solution for native/apps/web in one place, and the best Cloud Messaging (FCM) is no-cost and it can be handled by php with a simple http 1.1 API: <?php $request = new HttpRequest(); $request->setUrl('https://fcm.googleapis.com/fcm/send'); $request->setMethod(HTTP_METH_POST); $request->setHeaders(array( 'content-type' => 'application/json', 'authorization' => 'key=<CONFIG_SERVER_KEY>' )); $body = [ "to" => "<user-firebase-token>", "time_to_live" => 259200, "data" => [ //Some custom stuff "update"=> true, //you can tell the service worker to self update "actions"=> [["action"=> "ok", "title"=> "OK"],["action"=>"link", "title"=>"Acces","link"=>"https://forum.com"]], //Send somo actions to compose buttons "actionsUrl"=> {"link"=>"https://google.com"}, //and ask to open another url ], "notification": [ "body" => "Fancy Notification", "title" =>"Small Tittle", "image"=> "https://cdn.forum.com/monthly_2020_09/log.png.c10d6f024b155b08ab5f46d029749b42.png", //think on send topic first image "click_action"=> "https://invisioncommunity.com/forums/topic/451842-why-not-offer-push-notifications-solution/" // ], "fcm_options"=> [ "analytics_label"=> "forum-push" ] ]; $request->setBody(json_encode($body)); try { $response = $request->send(); echo $response->getBody(); } catch (HttpException $ex) { echo $ex; } At front-end with service worker (supported by all modern browsers) // If you would like to customize notifications that are received in the // background (Web app is closed or not in browser focus) then you should // implement this optional method. messaging.onBackgroundMessage(function(payload) { console.log('[firebase-messaging-sw.js] Received background message ', payload); // Customize notification here const {notification} = payload; const {data} = payload; data.click_action = notification.click_action; const {title} = notification; const notificationOptions = { requireInteraction: true, //Some default options data: data, ...notification }; console.log(notificationOptions); //Show notification return self.registration.showNotification(title, notificationOptions); }); More details: https://github.com/firebase/quickstart-js/tree/master/messaging All you need to do is handle the token from firebase to user, and then in the service queue send notifications to user when needed. When the user has the focus on the web page you can handle the notifications in the UI. It will work on all top users and technologies. The comment Matt made was in reference to push via web, which isn't supported in iOS without using native apps. They now have a native app.
Daniel F Posted June 6, 2022 Posted June 6, 2022 It seems it’s going to happen “soon”😍 Quote Web push notifications Adds support for opt‑in notifications on iOS. Coming in 2023. https://www.apple.com/ios/ios-16-preview/features/ Sonya*, Jordan Miller, Chris Anderson and 5 others 6 2
Thomas P Posted June 7, 2022 Posted June 7, 2022 Yes 🙂 https://www.macrumors.com/2022/06/06/ios-16-support-web-push-notifications/ Ibai 1
beats23 Posted June 7, 2022 Posted June 7, 2022 Why next year. Can you tell apple we need it next week. media, Thomas P, Ibai and 1 other 2 2
Jim M Posted June 7, 2022 Posted June 7, 2022 4 hours ago, beats23 said: Why next year. Can you tell apple we need it next week. Next week!? Yesterday would be preferred 🤣. media, SeNioR-, Ibai and 1 other 4
Jordan Miller Posted June 7, 2022 Posted June 7, 2022 21 hours ago, Daniel F said: It seems it’s going to happen “soon”😍 https://www.apple.com/ios/ios-16-preview/features/ SeNioR- 1
aia Posted June 7, 2022 Posted June 7, 2022 1 hour ago, Jordan Miller said: Cool gif, I'll save it for the moment when IPS will officially support the dark theme for the frontend 😉 Day_, Afrodude, SeNioR- and 1 other 2 1 1
SeNioR- Posted June 8, 2022 Posted June 8, 2022 11 hours ago, 13. said: when IPS will officially support the dark theme for the frontend 🤩
Management Matt Posted June 8, 2022 Management Posted June 8, 2022 13 hours ago, 13. said: Cool gif, I'll save it for the moment when IPS will officially support the dark theme for the frontend 😉 Why you gotta do me like this? Jim M, Mark H, Jordan Miller and 4 others 1 6
Jordan Miller Posted June 8, 2022 Posted June 8, 2022 3 hours ago, Matt said: Why you gotta do me like this? David N. and SeNioR- 2
Ricsca Posted June 30, 2022 Posted June 30, 2022 On 21/10/2019 at 17:47, tonyv said: Non mio. Facebook non è consentito nella mia comunità. What is your community?
Recommended Posts