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 <owencmo...@googlemail.com> 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 <a...@ashannon.us> 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 <owencmo...@googlemail.com> 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
-------------------------------
marcos.a...@gmail.com
-----

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-extensions" group.
To post to this group, send email to chromium-extensions@googlegroups.com
To unsubscribe from this group, send email to 
chromium-extensions+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/chromium-extensions?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to