I don’t think scraping the data is a way to go.
I’d say to try and integrate Google since it works (it seems to at least) as we want, and see from there. Having Google integration is already a big plus (since many people use Google Contacts - all of Android, and Google Calendar).
Happy to help :)
--
Mihnea Dobrescu-Balaur
> > wrote:
> >
> > I'm not sure I understand you properly, could you please rephrase or
> > explain further the matter? Thanks!
> >
> >
> > 2014-04-14 10:42 GMT+02:00 Mihnea Dobrescu-Balaur :
> >
> >> Just to make sure we are on the same page: do we accept the idea of havig
> >> a registered app, and the only problem is that we don't know the URL for
> >> any given user that has cozy? Or do we not want to have a registered app,
> >> since that would imply that when you import your stuff, cozy also gets
> >> acces to it (since it has your token)?
> >>
> >>
> >> On Monday, April 14, 2014, Joseph Silvestre <
> >>
joseph.s...@cozycloud.cc> wrote:
> >>
> >>> Oh, I'm glad you made the search after me because that page has changed
> >>> and looks more friendly to us now! Yes, that will work! Unfortunately, it's
> >>> not a standard workflow and depends too much on the will of the provider to
> >>> provide it :-/ (Twitter doesn't have it unless they've changed something
> >>> recently).
> >>>
> >>>
> >>> 2014-04-12 23:47 GMT+02:00 Mihnea Dobrescu-Balaur :
> >>>
> >>> Hm, what about this?
> >>>
https://developers.google.com/accounts/docs/OAuth2InstalledApp
> >>>
> >>>
> >>> On Wed, Apr 9, 2014 at 12:38 PM, Joseph Silvestre
> >>> wrote:
> >>> > Yes that's a solution IF the provider (facebook, twitter) provides an
> >>> API
> >>> > with basic authentication. Apparently, they don't (from what I've
> >>> seen) for
> >>> > good reasons (the whole oAuth point, actually, is preventing the user
> >>> from
> >>> > giving his credentials to third party clients) but I may have missed
> >>> > something (I'd love to have missed something :D).
> >>> >
> >>> > Tell us if you find something I've missed!
> >>> >
> >>> >
> >>> > 2014-04-09 10:58 GMT+02:00 Mihnea Dobrescu-Balaur :
> >>> >
> >>> >> I think this is the function that is used:
> >>> >>
> >>> >>
> >>>
http://developer.android.com/reference/android/accounts/AccountManager.html#addAccountExplicitly%28android.accounts.Account,%20java.lang.String,%20android.os.Bundle%29
> >>> >>
> >>> >> On Wed, Apr 9, 2014 at 10:52 AM, Mihnea Dobrescu-Balaur
> >>> >> wrote:
> >>> >> > Haha :))
> >>> >> >
> >>> >> > So I'm not sure about OAuth subtleties (will check, as I said), but
> >>> >> > what about having the user store their credentials in their own
> >>> cozy?
> >>> >> > Its the user's data anyway. I think this is how Android does it
> >>> (since
> >>> >> > they ask for username & password).
> >>> >> >
> >>> >> > On Wed, Apr 9, 2014 at 10:05 AM, Joseph Silvestre
> >>> >> > wrote:
> >>> >> >> If you find a way to have the oauth workflow working smoothly I
> >>> will
> >>> >> >> you buy
> >>> >> >> more beers than you can drink :D Unfortunately, part of the
> >>> workflow is
> >>> >> >> "the
> >>> >> >> developer registers its app in the backoffice of the provider"
> >>> (google,
> >>> >> >> facebook). Said step must be done by the user in our case...or we
> >>> must
> >>> >> >> provide a third-party service like
https://foauth.org/
> >>> >> >>
> >>> >> >> I hope you can find a subtility in oAuth to avoid that!
> >>> >> >>
> >>> >> >>
> >>> >> >>
> >>> >> >> 2014-04-09 9:56 GMT+02:00 Mihnea Dobrescu-Balaur > >>> >:
> >>> >> >>
> >>> >> >>> Oh right, something like that. We should look into doing this in a
> >>> >> >>> more
> >>> >> >>> user friendly way. Android is doing it somehow on the devices.
> >>> >> >>>
> >>> >> >>> Will check.
> >>> >> >>>
> >>> >> >>>
> >>> >> >>> On Wednesday, April 9, 2014, Joseph Silvestre