QuickBlox login with Facebook's own SDK? - objective-c

Is it possible to use QuickBlox iOS SDK in conjunction with Facebook's iOS SDK to log into service?
Or rather, my real intention is to be able to to use Facebook to find the user's liked page. So I need to create Facebook session. Anyway to achieve this?

You can login via Facebook or Twitter. More details there http://quickblox.com/developers/SimpleSample-users-ios#Sign_In_.26_Social_authorization
In this case QB-user will contain facebookID field.
For creating facebook session you need use facebook sdk. Quickblox doesn't support it.
You can only mix this SDKs to achieving your purposes.

You can use method 'Login with Facebook access token'
[QBUsers logInWithSocialProvider:#"facebook" accessToken:#"AAAGmLYiu1lcBADxROiXg4okE80FQO1dJHglsbNT63amxmABnmBmhN6ACbgD7qNC3H4Y9GmZAdoSfPUkI9O7ZBJvKQCewNZAp3SoxKCNIMwQZDZD" accessTokenSecret:nil delegate:self];
In this case you need to use Facebook SDK to obtain access token.

Related

Is there any way to authenticate users with instagram in my ionic app?

I want to know if someone could already do something like this, because the new Instagram basic display API is kind of different. Thanks in advance
I've been working in a Ionic 3 app, which authenticated users with Instagram API. But now Instagram API is no longer working, and was migrated to Facebook.
With the new API, Facebook no longer allows users to authenticate into an app using the Instagram Basic Display API, and the Graph API for Businesses and Creators requires a Facebook token.
I suppose they now want you to only use the Facebook auth flow to authenticate your users for your app, and then have them log in again to Instagram for Basic Display after your primary authentication.
"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."
https://developers.facebook.com/docs/instagram-basic-display-api
&
"All endpoint requests must include a Facebook User access token."
https://developers.facebook.com/docs/instagram-api/overview

How to implement login via facebook google and twitter?

I want to login via facebook, google and twitter in Yii framework.
I don't know how to do it ?
Please suggest me the best way.
You can go through the developer site for each facebook, twitter and google. and simple create some app to work with as you needed.

Facebook Login Using UIWebView

My app was rejected by Apple because "Login via Facebook" opens the Safari app, because I am using UIWebView for Facebook login, which is working fine. I am getting the access token as well.
The problem is I also need user information like user ID, email ID, user name etc. because I need to save it on my server.
How do I get the logged-in user's info when I have the access token?
Have you read the FB iOS documentation?
https://developers.facebook.com/docs/reference/ios/current/
There is an API called FBRequest which can retrieve various information or the Graph API can be used to obtain stuff.
How to integrate FB login with an iOS app is fully documented with example projects.

in youtube API 3 user authentication required or registering the app by the developer is enough?

i want to develop an android app using youtube API 3.
It is necessary that the user who will be using the app has to login with his/her gmail credentials to actually view a video?
Or just registering the app here https://developers.google.com/youtube/registering_an_application is fine and the user watching the video or using the app need not login to his/her gmail account.
It is necessary that the user who will be using the app has to login with his/her gmail credentials to actually view a video?
No. Authentication via OAuth is only necessary if your application requires access to "private user data". Simply viewing a video does not meet those requirements.
More details here: https://developers.google.com/youtube/v3/guides/authentication

How to authenticate in a Facebook Flash application?

I do not understand how I can authenticate a user in a Facebook Flash application. I have read from the documentation that Facebook platform gives arguments, such as user id and session secret, to the Flash application, but how can I inside the Flash application make sure that these arguments are correct and not fake? Should I make some call to some Facebook platform method and check that no error occurs to be sure?
Another question related to Facebook: Can I only store Facebook users' user id's in my own database and not for example users' names? I guess I am not allowed to show users' real names when they are visiting my website directly and not through Facebook?
Use this API for flash/flex communication to Facebook services:
http://code.google.com/p/facebook-actionscript-api/