I recently developed contacts importer for Gmail and Yahoo. However, I come to know that Twitter doesnt give any contacts(email) using oAuth. So, I wanna know whether Facebook allows to import the contacts of friends or not.
If yes, Do they use oAuth or any other authentication method
Facebook will not give you friends email addresses via the API.
Related
In my IOS app i Want to add twitter login in order to fetch the user's information like Name, Email ID and Profile picture.Can anyone please provide me some useful information or some tutorial link that can help in integrating twitter login in my app and to fetch user information.
If you're just trying to do some really simple login stuff and are new to iOS, I would definitely check out Parse's Twitter Login tools.
https://parse.com/docs/ios_guide#twitterusers/iOS
Really user friendly and simple to get the hang of.
If you want to add twitter login to your app in a simple way, I would recommend you to use Fabric framework. Follow this link: https://dev.twitter.com/fabric/ios
Note: You can't bring user's email easily. You need to get permissions from twitter by filling a form in twitter website or else by sending email to fabric team.
Twitter Kit provides all the required functionalities and mechanism for making authenticated requests to Twitter's REST API.
Follow the configuration process here.
Using TWTRSession, you can request for TWTRUser object and that will have what you need.
This is the right way and advisable one too.
I'm trying to build an iOS app with Parse using a Linkedin Connect.
User taps connect with Linkedin button and authorizes app
Redirected to the app
Need username, email and password to create PFUser
Has anyone found a way to create PFUsers using Linkedin data without asking for a password, and make the flow very similar to a Facebook Connect?
Parse has offered APIs supporting logging in with twitter and Facebook. Since it has no direct support in Parse SDK. I think you have to make everything yourself. Maybe try to get the user's email from the linkedIn account and log in with this email as username.
Parse.com now offer a generic OAuth library with a tutorial for authenticating GitHub accounts.
https://parse.com/tutorials/adding-third-party-authentication-to-your-web-app
This can help you : https://github.com/ahmetkgunay/LinkedinIOSHelper
This Library has features like authorizes app, getting access token, login with linkedIn, getting user's all informations, autoLogin if the accessToken is still valid.
This repo may help you : https://github.com/alexruperez/PFLinkedInUtils
It provides utility functions for working with LinkedIn in a Parse application. If a _User with the LinkedIn id is found in Parse, it will retrieve the user. Otherwise a new _User will be created and sign up.
In my application I want to fetch my gmail contacts.
In my app I have already integrated "Google+ API" So i just need to know that can i access my gmail contact by using the same API. Or I need to integrate Gmail API.
Please help me I am new to this
I wouldn't imagine how you would get the contacts from one service by using another? Not everyone in your gmail contacts is going to be on your google+ account, so how would it be possible to get them?
There are other ways and it is documented online how to integrate with gmail, I suggest you research links like the following to find something you need:
gmail integration in ios application
Gmail API for objective-c?
how to fetch my Gmail contacts into my iPhone App
It is possible, but only if you ask for the contacts scope alongside your Google+ scopes.
Where you integrate the Google+ API, you will also need to ask for scope https://www.google.com/m8/feeds.
See https://developers.google.com/google-apps/contacts/v3/ for more details.
I would like to import the gmail contacts by only with email address not pwd.
Is there any chance in google api something like facebook graph api to providing feeds
without user pwd and only with fb username.
Does this make sense?
Please help me who have idea about it.
Thanks in advance.
I assume you are using ruby on rails. You can check out the contacts gem
https://github.com/mislav/contacts
This allows you to fetch users’ contact lists from your web application without asking them to provide their passwords, but you have to register your app with google. The way you use it is similar to Facebook graph api.
There is also pretty good gem for gmail and yahoo https://github.com/Diego81/omnicontacts
I want to create an web application that will link up a student's facebook, twitter and orkut accounts all under one shed. Its like connecting all the students within a college, to login into the web app, the userid will be the unique studentID provided by the college
itself.
Now, once a student has logged-in, he can open his facebook, twitter and orkut a/c in the same window, lets say under tabs. How can i do that??
I mean how can i pass a student's Facebook's user-id and password to facebook server and if user authentication is done, then show the student his facebook wall.
I am very confused and don't know how to deal with this.
Storing username and passwords is not a very good idea. Neither Facebook nor twitter supports it through API.
For Facebook integration use the OpenGraph protocol with any SDK that Facebook provides, like Javascript SDK. Mogli is a ruby wrapper for OpenGraph API
For Twitter, there are multiple options like John Nunemaker's Twitter gem. Use that to talk to Twitter API.
Ultimately, it comes down to the architecture of your application. You can start by creating models like 'FacebookConnection' or 'TwitterConnection' and linking them to your 'User' model.
Solving it easy, just make the link open twitter/facebook. if they are signed in there already, their homepage will show, otherwise they will be prompted to enter user/pass.
To integrate your application with those platform, each platform got it's API and connect method, with this you won't need the user password be stored in your app. You instead will, twitter as an example, create a twitter application that communicate with twitter's API, and then redirect the user to twitter asking twitter to grant your application some access to the signed in user account, almost the same as you will sign in with your google account here on stackoverflow.
To do the communication with each of those platform, refer to the API/Connect documentation they provide and implement it in your web application. Don't reinvent the wheel, most of the communication functionality will be already coded in an easy to use library, whether for rubyonrails or most other development frameworks/languages.
look at facebook connect, oath (for twitter) etc instead of storing passwords
divs/iframes with some kind of tab control (jQuery?) to handle toggling of what should be visible.