This call http://wiki.developers.facebook.com/index.php/Notifications.getList
apparently returns only current session notifications. You can store them in a table(better) or a comma separated string on localstorage(simpler) and for each notification check if it exists locally or not. Wyt? On Mon, Nov 9, 2009 at 5:17 PM, Marcos Aruj <[email protected]> wrote: > Maybe by grabbing the notification list, storing their ids in DB, and check > for their existence. > > Maybe Facebook's API has some utilities to get part of the notifications > list. > > > On Mon, Nov 9, 2009 at 5:10 PM, OwenCM <[email protected]> wrote: > >> >> I've had a hunt and there's no easy way of finding new notifications, >> only the list of current ones... >> >> I've written an extension that works now, though it does load the >> facebook home page in the background and then just parses it. Can't >> find any other way right now, it could be more lightweight to just >> load up the mobile web page, but it doesn't seem like a much better >> solution. Oh well, if anyone can see a better way please let me know >> otherwise I'll just leave it like this :P >> >> On Nov 9, 10:22 pm, Adam Shannon <[email protected]> wrote: >> > I don't think that loading facebook.com in the background would be a >> very good >> > security/phishing measure. I'm not sure but I would expect that facebook >> has a >> > push API, or just parsing an XML file and checking for new notifications >> would >> > work. >> > >> > >> > >> > >> > >> > On Sun, Nov 8, 2009 at 14:52, OwenCM <[email protected]> wrote: >> > >> > > I've been playing around trying to get an extension to work like >> > > GReader and GMail notifications but for Facebook, but the crux of it >> > > is there doesn't seem to be a way of getting a feed of only new >> > > notifications so I can't work a way of picking up notifications... >> > >> > > Is there any chance somebody can give me a hand with some code (I'm >> > > decent HTML and have good background in VB6 etc but I'm no whiz in >> > > jQuery or anything) which can just loadwww.facebook.comin the >> > > background and check for new notifications in the bottom left without >> > > allowing Facebook to remove them as read? >> > >> > > Or if anyone has another idea as to how this could work please do >> > > share :) >> > >> > > Thanks! >> > >> > -- >> > - Adam Shannon (http://ashannon.us) >> >> >> > > > -- > Marcos Aruj Alvarez > Ingeniero de Software > ------------------------------- > [email protected] > ----- > -- Marcos Aruj Alvarez Ingeniero de Software ------------------------------- [email protected] ----- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Chromium-extensions" 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/chromium-extensions?hl=en -~----------~----~----~----~------~----~------~--~---
