FHSTwitterEngine get stored account - ios

I use FHSTwitterEngine for twitting from my app. I know i can use XAuth and OAuth to login twitter account, but I'm wondering if is there any way to login by getting Twitter account assigned to iPhone. I mean that I can assign my twitter account in setting in my iPhone and some app get this stored data from settings and can login user basis on it. Is this feature avaiable under FHSTwitterEngine?

Since it doesn't require/import Social.framework or similar, FHSTwitterEngine does not support iOS Twitter accounts.
Social.framework allows posting to twitter/facebook, but does not offer any information like OAuth tokens to log in outside of it.

Related

How to make instagram login with AWS Cognito Federated Identities

I am trying to implement social media login with AWS Cognito (Mobile services)for iOS app.AWS directly supports login with Amazon, Facebook, Google+ and Twitter. But i want to implement instagram login with AWS Cognito. How can I achieve this. Please look at the Screen Shot,
In the screen shot you will see provider sections like Amazon,facebook, google and Twitter and the rest of the three are for other. Please let me know which one will work for INSTAGRAM login in rest of the three provider OpenID, SAML and Custom. And how to implement it??
Unfortunately there is no out of box support for Instagram, so your best bet is to setup Instagram as Custom provider. Please refer to this doc and blog to learn about setting up custom provider.
Basically your app needs to interact directly with Instagram to get Instagram User's unique id. That id can then be used as developer user identifier in GetOpenIdTokenForDeveloperIdentity to get Cognito Identity Id and Token.
You can take a look at auth0, maybe this meet your requirements.
The instagram has stopped supporting authentication. You can use Instagram Basic Display API allows users of your app to get basic profile information, photos, and videos in their Instagram accounts.
Check below links -
1)https://developers.facebook.com/docs/instagram-basic-display-api
2)https://www.instagram.com/developer/
They mentioned, "Authentication — Instagram Basic Display is not an authentication solution. Data returned by the API cannot be used to authenticate your app users or log them into your app. If you need an authentication solution we recommend using Facebook Login instead".

Reading Twitter/Facebook information without Accounts via the iOS Social Framework

Is it possible to get Tweets/Facebook posts using the iOS Social Framework without using Facebook or Twitter accounts?
Not possible to query data without active account.
You can create new SLRequest, even set its parameters with valid FB access token but you will still need to associate the request with valid, accessible account.
See the example of the possible request here
For FB queries, You can use the FB SDK to perform the queries without active user login using access token generated for your facebook app, I can explain more about it if needed.

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.

Authorize a session for any user with the iOS Social Framework?

Is it possible to authenticate a user to post to any Twitter or Facebook account from their iOS app? By this I mean not an account thats set it your Settings App. I'm hoping it can be done with their new iOS Social Framework as I know the Twitter and Facebook APIs will not always be supported.
I want to be able to enter the credentials of any user and make a post as them.
Your questions is kind of unclear, but it comes down to this: As an app developer, you are only allowed the permissions to the social account that the user is logged into inside of the settings app (and only after the user grants the app permission).
For the iOS social framework, the user is allowed to be simultaneously logged into multiple Twitter accounts, except only one Facebook account.
Read up on the Social.framework here: Social.framework
And the facebook open graph api here: Facebook Open Graph

iOS Twitter website single sign on

Say that you have an iOS app, and a user that has one or more Twitter accounts set up on their device. Is it possible to load part of Twitter's mobile site into a UIWebView within the app with the user automatically signed in as one of those accounts?
Obviously, accessing the accounts would require the user's permission, which is fine. And probably after the first time, the site would remember the user anyway. But it would be nice to not force the user to enter their credentials again.
I know that I can use Reverse Auth to get OAuth tokens for an iOS Twitter account, but I haven't found anything concrete to allow me to exchange those tokens for authentication on twitter.com.
Well, according to Twitter's Taylor Singletary, it's not possible. Boo.

Resources