Toffeed icon indicating copy to clipboard operation
Toffeed copied to clipboard

Proper notifications (and messaging)

Open JakeLane opened this issue 9 years ago • 16 comments

Facebook recently added support for desktop notifications. This possibly could be utilised to have a real notification service.

JakeLane avatar Jan 12 '16 11:01 JakeLane

That would be amazing.

creativetrendsapps avatar Jan 20 '16 08:01 creativetrendsapps

What kind of notifications are you trying to implement? My app, Folio supports notifications. Maybe you can use the code I have? With it users can receive regular and message notifications.

creativetrendsapps avatar Feb 13 '16 03:02 creativetrendsapps

I was hoping to use the Facebook desktop notifications because it would be true push notifications akin to the official app. I've done a bit of research and have found that they do use GCM. I would like to work out how to hook into that but it may be impossible due to their server encapsulation.

JakeLane avatar Feb 13 '16 03:02 JakeLane

OK. Is there an api for this? Opera mini does this well and I've been looking into push notifications as well. Either way, if you'd like.. I can help with the current implementation I have worked out. I'm sure you'll improve it :-).

creativetrendsapps avatar Feb 13 '16 03:02 creativetrendsapps

I'm unfortunately quite busy with an upcoming exam right now but I think a RSS implementation would be the easiest solution at the moment.

When I get some time, I'll definitely have to checkout your implementation. From what I've heard about Folio, it must be very good!

Thanks so much for the help!

JakeLane avatar Feb 13 '16 03:02 JakeLane

Does this notify on messages as well? This code looks interesting.

creativetrendsapps avatar Feb 20 '16 19:02 creativetrendsapps

Unfortunately no, just the notification RSS feed. If I were to try to implement messaging, I think I'd try to parse a page instead of RSS. Possibly even one of Facebook's 'lite' sites.

JakeLane avatar Feb 21 '16 00:02 JakeLane

@JakeLane , take a look at the notifications I'm using. I'm sure you can adjust it to include message notifications like I have.

https://gist.github.com/creativetrendsapps/da211dd75cfb4af4cb79

creativetrendsapps avatar Feb 23 '16 13:02 creativetrendsapps

I reckon I'll give that a go, thanks!

JakeLane avatar Feb 25 '16 01:02 JakeLane

What's the status of integrating messaging and notifications?

trippyhat avatar Nov 11 '16 21:11 trippyhat

So is it working or no, because i get no notifications at all from toffeed (and yes the background notifications are enabled with interval 5 minutes) and it is very sad as it was a good alternative to those fat facebook apps

Sjkomy avatar Jan 02 '18 12:01 Sjkomy

Facebook has removed the RSS notification feature so Toffeed notifications will not work. Unfortunately, I don't really have the time or motivation to fix this as I am working full time at an internship. I may in the future completely rewrite the app in Kotlin as I have improved a fair bit as a developer since developing this app. So apologies for the non-working state of the app, I suggest you seek other alternative Facebook wrapper apps for notification support.

JakeLane avatar Jan 04 '18 10:01 JakeLane

Feelzbadman

Sjkomy avatar Jan 04 '18 10:01 Sjkomy

I'm sorry, but this app seems being the best. I tried ALL from F-Droid, and this was best one suiting my needs :/ I'm waiting for rewrite! ;D

JuniorJPDJ avatar Mar 27 '18 15:03 JuniorJPDJ

@JakeLane are you going to rewrite the app in Kotlin? I can get notifications working for you before then if you'd like.

creativetrendsapps avatar Mar 27 '18 23:03 creativetrendsapps

@creativetrendsapps I'll probably give it a try during my Winter break but that'll really depend on whether I'm working then. I really appreciate the offer but I don't want you to spend time on something I mightn't get time to work on.

My plan is to have MIT licence on a modular core library so people can reuse code in their apps and I'll write the frontend with the GNU licence to stop copies. I love open-source but it's disheartening to see copies with ads on the play store. Let me know if there are any features you'd like me to investigate, R&D is fun and will keep me motivated haha.

JakeLane avatar Apr 01 '18 08:04 JakeLane