nextcloud / contacts

📇 Contacts app for Nextcloud
https://apps.nextcloud.com/apps/contacts
GNU Affero General Public License v3.0
571 stars 172 forks source link

Import multiple file types and sync to external services #20

Open tcitworld opened 8 years ago

tcitworld commented 8 years ago

Formats to support

Sync contacts with

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38732244-import-multiple-file-types-and-link-to-services?utm_campaign=plugin&utm_content=tracker%2F46751899&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F46751899&utm_medium=issues&utm_source=github).
skjnldsv commented 7 years ago

@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)

berho commented 7 years ago

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?

skjnldsv commented 7 years ago

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

berho commented 7 years ago

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 :)

michaelletzgus commented 7 years ago

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...

ACTom commented 7 years ago

@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?

call-me-matt commented 4 years ago

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 commented 4 years ago

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)

skjnldsv commented 4 years ago

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: