How can i access various contacts associated with my any of gmail/yahoo/rediff account Or can i load inbox from there to my website. Just like gmail imports contacts from others sites or loading emails from other sites. I gone through thread How to import email contacts from various email service providers in a website? but could not find way to use this API.
Thanks
Just download the general API here. Assuming you have some basic php understanding you simply use the classes within the API to get the list of emails. check out the documentation for gmail here.
Hope this helps,
Related
I have Firebase invites working with email and SMS just fine. I'm clueless when it comes to sharing via Facebook or twitter however. What are my options for sharing data with invites to facebook via Firebase? I can't find any info on this anywhere - except that Facebook offers its own invite api. I'm trying to just use Firebase if possible though, so I'm just trying to figure out how to customize the "share sheet" that I see referenced in various loctions online (without much info associated with those references). I can't tell if the share sheet is just a list of actions that I need to handle my own way, with just the email and sms option handled by google and I handle the rest of the options using the various apis out there.
In my current implementation, I use the deep link that the invite exposes and store the id of some data that I want the specific user to have access to. Then store that data in a firebase database. But what is the correct method to share to facebook users? Is it to just use facebook's api and expose it somehow in my own "custom share sheet"? Where can I find documentation on the share sheet?
Thanks for clarifying any of this if you can!
Cheers,
Mike
Currently I believe the only way to share to sources other than Email & SMS you would need to implement your own custom sharing functionality. It's hinted at in the Invites Documentation Best Practices section titled "Build a Custom Share Sheet".
Firebase Invites is built on top of Firebase Dynamic Links so if you want a link that takes the users to the app store to install your app you can create a simple dynamic link using one of these methods.
For implementing custom share sheets it depends on your platform as each has a different way of implementing sharing functionality.
My answer might not be ideal as I am looking for an alternative as well, but you could manually add different social media shares manually. What I wanted to do was send a deep link using the share feature already implemented by google but with no luck.
// Regular share I want to use this and send deep link :(
Intent myShare = new Intent(Intent.ACTION_SEND);
myShare.setType("text/plain");
String shareBody= "Messsage here";
String sub = "Title";
myShare.putExtra(Intent.EXTRA_SUBJECT, sub);
myShare.putExtra(Intent.EXTRA_TEXT, shareBody);
startActivity(Intent.createChooser(myShare, "Share using"));
/FACEBOOK SHARE
/*ShareLinkContent content = new ShareLinkContent.Builder()
.setContentUrl(Uri.parse("deeplinkhere"))
.build();
ShareDialog shareDialog = new ShareDialog(HomepageActivity.this);
shareDialog.show(content);*/
// Google Invites
/* Intent inviteIntent = new AppInviteInvitation.IntentBuilder(getString(R.string.invitation_title))
.setMessage(getString(R.string.invitation_message))
.setDeepLink(Uri.parse(getString(R.string.invitation_deep_link)))
.setCustomImage(Uri.parse(getString(R.string.invitation_custom_image)))// the image address on server for invite by email.
.setCallToActionText(getString(R.string.invitation_cta))
.build();
startActivityForResult(inviteIntent, REQUEST_INVITE);*/
//startActivity(new Intent(HomepageActivity.this,InviteActivity.class));
My project requires that I should let the user using my website to either import his/her contacts from gmail,yahoo, hotmail,facebook,linkedin so that I can save them their contacts email id in our database and send them invitation email to join our website or if importing from all these websites is not possible then directly using some api to directly send invitations via these websites.
I will really appreciate any sort of help as I am new to wordpress and hence not aware about lot of plugins and searched the internet a lot but didn’t find anything constructive. I have visited my yahoo mail id and can see I can import my contacts from facebook,gmail,outlook and other yahoo accounts so that means there is 100% some API which yahoo guys are using.
Please help.
Your question is very, very broad, but here are the APIs you might want to look into:
Google Contacts API Version 3.0 Look under Retrieving all contacts.
Yahoo Contacts API
Hotmail doesn't seem to have a proper way of getting the contacts.
Facebook
LinkedIn Check out the example "Get My Connections".
Good luck!
I am working on a project in ASP.NET MVC4 which require that I go through the user's email when provided, retrieve the contact email and send an email invite to all the users.
Can someone help me to with accomplishing this step by step.
Thanks in anticipation.
There is a number of projects on sourceforge, which you can use for importing contacts from yahoo and gmail, for example, OpenContacts.NET
If you want to write your own code, see Google Contacts API and Yahoo! Address Book API
I'm going through the features of social auth (http://code.google.com/p/socialauth/) & wondering if this is the best thing for my requirement. Please guide.
My web application currently has it's own login mechanism(native). But I'm planning to do the following:
Login through Facebook(F), Twitter(T) and Google(G) options
After login (either through F,T,G or native login), I want to give user the option of selecting F friends, T followers or G contacts (in a textbox with autosuggest facility)
So my doubt is: (social auth says that "..currently Facebook, Twitter and LinkedIn do not provide email addresses. UPDATE: Hotmail has stopped providing email addresses.")
So although I'll have a list of followers, friends or contacts will I be able to notify them once my user selects and submits his form?
Will it be through F,T or G respectively(through status updates, tweets or email?)
Moreover, I've one more scenario:
E.g. the user has logged in using Facebook. Now I want the user to be able to link her Twitter and Google account too. Can socialauth provide that?
If yes, how would I handle multiple profile objects of the same user?
Please guide or suggest any other library.
My application is in Spring MVC.
Or shall I use Spring Social?
Since your application uses Spring-MVC you should try Spring Social. It would be best for your application.
You can also use socialauth library. It also has spring version to connect with FB, twitter and others provider. Link for the same is as given below:-
http://code.google.com/p/socialauth/
Spring Social is best option for your requirement and in can be easily integrated with
There are 2 proven ways which can be used for this
Using Spring-security-oauth2
Using Spring Social
However, if you are using just Spring Social based on the facebook example, provided on the Spring Website then be mindful of these issues
It doesn't work for more than 1 user
Spring-social doesn't support Google either.
It is also difficult to change the redirect flow unless you override the methods
But the good thing is there are workarounds to fix them and they are quite simple.
Here is how to fix FB one user per application problem
For connecting/authenticating with Google
For Changing the default redirect flow
The Complete tutorial with step by step instructions can be found here
Having explored both oauth2 and Spring Social. I would suggest Spring-social as its lot more simpler and custom built for social logins only.
I'm building an application that gives users the option to send out an email notification to their friends.
The options I would like to give them for this are to:
manually write down which emails they would like to send to
choose contacts from a list of ones already in the database for that user
choose all contacts from facebook, twitter, digg, gmail, or msn to send the email to
Is there any way I can retrieve all of the email addresses for a certain contact from these different websites?
For example, if I chose the option to send out email notification and I wanted to send it to all of my friends on my facebook account, how could I do this? (Remembering that the user is interacting with a completely separate website and should not have to go onto facebook to send this emails)
Any ideas?
Thanks in advance for your help!
Matt
Google contacts api: http://code.google.com/apis/contacts/
Windows Live contacts api: http://msdn.microsoft.com/en-us/library/bb463989.aspx
Facebook's apis are here: http://wiki.developers.facebook.com/index.php/API
For each websites (twitter, facebook, etc.) use their API for accessing contacts.
Russau was faster with the Google contacts API. For sending Gmail messges there is also a third-party API here. Actually I thought that also Google released one, but I couldn't find it at the moment.
\Edit:
This might be relevant too.