Question

I want to write an app to enable Facebook (or Gmail, twitter,etc) import contact. When the second time the user use import contact, I should not show the contacts that they already imported. Is there any efficient solution to this?

Was it helpful?

Solution

Yes, this is possible, but you need to keep a records yourself of what contacts you've imported. Facebook/Twitter does not maintain lists of who you've imported.

Simply import them all, and then discard the ones that you've previously seen before.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top