How to get yahoo calender events through Yahoo OAuth integration in iOS? - ios

I am using this link: https://github.com/yahoo/yos-social-objc for login in yahoo account.
In this code i am providing credentials of yahoo account but iam not getting the access token it gives message
To complete sharing of yahoo! info with xxxx, enter code xxxx into xxxx
So, I am not getting that where I should enter this code? And how will it redirect to my application.
Any help will be appreciated.

Related

How to use instagram API for Login

I have been trying to implement the OAuth flow for Instagram login with Instagram official APIs but seems like a lot has changed since June 2020 and I haven't had any luck to get any help for the Instagram Oauth login flow that can return a user email which can later be used to keep track of the user registration via Instagram API.
Instagram official documentation says that they don't recommend using Instagram Basic Display API for login here:
https://developers.facebook.com/docs/instagram-basic-display-api
Can someone guide me on how to get the user information like email or at least username in return from the Instagram API.
Any help will be highly appreciated. Thanks
Unfortunately currently it is not possible to do with IG Basic Display API.
Please check the Documentation
It is not possible to get an email from Basic Display API. You will not be able to get the email from the API responses.
You can get the user ID from Instagram when you will exchange the code obtained via Authenticate to access token. Later on when you will have the valid access token you can get the username.
I would recommend checking out Getting Started from that API: https://developers.facebook.com/docs/instagram-basic-display-api/getting-started it shows how to get user_id (step 5) and username (step 6).

Fetch contacts/friends email address in Google SignIn in ios app

I am trying to integrate the Google SignIn with my iOS app.
I followed the tutorial given by Google on:
https://developers.google.com/identity/sign-in/ios/
I have been able to get the user log in into the app using the Google SIgnIn.
I am able to retrieve the basic information of the user like name, email address.
I am unable to get the list of friends/contacts and their email address.
Is there any way I can achieve the same?
Thanks in advance.

Parse - Linkedin Connect

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.

Login through facebook into other sites - IPHONE

I have an application where i need to login to a website through facebook, twitter and the website's own login.
I'm not very sure how to login through facebook and connect it to the website. Like if i click on login with facebook button, it redirects to facbook login page( which is achievable with all the tutorials and information provided in the facebook developer documentation and the sdk) and then it is redirected to the website immediately after facebook login.
How to achieve this? Any suggestions or help to achieve this will well appreciated.
I also would want to know about the encrypted access token of facebook. How to use that access token. I have read the documentation, yet i have not got the concept so clear in my head.
EDIT: the website is already connected to facebook and twitter... I have to to the same on iphone.. I mean, the response i will get after login through facebook is an access token. Can i use this access token. How to link the response got after facebook login to the website to authenticate a user's login. This i need to do it in iphone.
Thanks in advance.
Here is an example on how to do it with php,
Facebook as Auth
EDIT:
As you mention you already have a website in place with facebook and twitter integration and only require to do it in iPhone.
For iPhone have a look at facebook sdk for iPhone.
What you get after a authentication from facebook in iPhone app will be a access_token. You can use this token to get the facebook userid. Match the same id with the one present in the website. This way you can validate a user.
For getting user details from acess_token try this.
graph.facebook.com/me?access_token=<token>.
This will return basic user information along with facebook userid.
Best of luck.

How to receive user information when user is authenticated with Google Adwords OAuth

I'm building a web application with the google adwords API (ASP.NET Client library v14.5.0).
I'm using the builtin OAuth libraries to authenticate a user. Everything is working fine, but now I want to get user information, such as emailaddress and name from the user thats logged in.
Does somebody knows how this works?
Thanks!
Patrick
AdWords API doesn't provide this information, you could try getting the User profile information instead. See https://developers.google.com/accounts/docs/OAuth2Login#userinfocall for details.

Resources