contacts icon indicating copy to clipboard operation
contacts copied to clipboard

Import multiple file types and sync to external services

Open tcitworld opened this issue 9 years ago • 9 comments

Formats to support

  • [ ] Gmail .csv
  • [ ] Outlook .csv
  • [ ] Thunderbird .csv
  • [ ] Yahoo .csv
  • [ ] Gmail .vcf
  • [ ] Yahoo .vcf
  • [ ] any type of LDAP data

Even more

Sync contacts with

  • [ ] Facebook
  • [ ] Twitter
  • [ ] Google+
  • [ ] Diaspora

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

tcitworld avatar Oct 27 '16 13:10 tcitworld

@tcitworld for facebook, I had a previous built app: https://github.com/skjnldsv/fbsync

But this is a tricky one. I used some shady stuff to retrieve facebook data because otherwise, we have to declare ourselves as devs on facebook and many other stuff from their api is restricted or too hard to use (unless it has changed since)

skjnldsv avatar Dec 29 '16 17:12 skjnldsv

There should work supported format in actual version first ;)

I try to import a Yahoo.vcf and get error on NC 11.0.1:

HTTP/1.1 415 Validation error in vCard: CardDAV servers are not allowed to accept vCard 2.1

Is there a workaround available?

berho avatar Feb 02 '17 15:02 berho

You can try manually edit them to vcard 3 or 4. :) But there could be some compatibility issues.

skjnldsv avatar Feb 02 '17 17:02 skjnldsv

My workaround was to install "My Contacts Backup" app on iOS (up to 500 contacts can be exported in free version) and import the file in NextCloud. This way I imported Yahoo, Exchange and iCloud Contacts at once and move them to NextCloud :)

berho avatar Feb 10 '17 21:02 berho

I created a small python script for converting googles CSV to vcard3. Currently this works quite well locally, in the near future as a CGI web service. Since it depends on pythons CSV- and VCARD-modules conversion to javascript would not be as easy as just changing the language...

michaelletzgus avatar Feb 12 '17 17:02 michaelletzgus

@skjnldsv I found ThunderBird, Outlook, Foxmail(a popular email client in China) only support to export vcard 2.1, why this app only support vcard 3.0 and 4.0?

ACTom avatar Aug 27 '17 00:08 ACTom

Hello. I am motivated to start some work on this topic, as described in #1546 But I need support setting everything up. Help is appreciated: https://help.nextcloud.com/t/content-security-policy-in-dev-environment/75931

call-me-matt avatar Apr 01 '20 21:04 call-me-matt

Here is a start: synchronizing the profile picture from facebook (without the need of an own facebook account or any exposure of contact details): https://github.com/call-me-matt/contacts

social-profile

What do you think?

Next step will be to enable regular syncs of all contacts via cron. Help would be highly appreciated, especially with reviewing the structure of my code (just starting to learn vue)

call-me-matt avatar Apr 12 '20 22:04 call-me-matt

Hey!! Awesome work! That would be super nice to have this indeed!

Would you open a pull request so we can have a look at the code together? :rocket:

skjnldsv avatar Apr 14 '20 10:04 skjnldsv