I was already able to access the Graph API using a .NET native client. So this means that the end-user is redirected to a dialog page that requires him to sign-in, and then I get an access Token which allows me to query the Graph.
Meanwhile I'm trying to implement the same on iOS and Android. I do find information saying that's possible, but I cannot find any sample code or documentation on how to do it.
Any help would be greatly appreciated.
for acquiring the token, have you checked out the Azure AD code samples page ? There are iOS and Android samples that demonstrate ADAL/OAuth.
OK I was able to get it working following the below samples:
Android https://github.com/AzureAD/azure-activedirectory-library-for-android
Objective C https://cocoapods.org/?q=on%3Aios%20adal
Related
Please help!
I am trying to genereate response_type=code from the android sdk, but i am not able to see any option to do that. I can do the same for the web browser using redirect urls, but not for the Facebook android sdk.
I need that code to authenticate the user at the server side. I am getting the token, but that token should be used on the frontend side only, I even checked the manual build flow, it involves the browser redirection, is there any way i can generate the response_type=code, using the android sdk.
Thank you in advance.
I have a website which is built on Codeigniter and I use Tank Auth library for login. I'm trying to implement a login app in Android that uses Tank Auth but I not have any idea how to do it!
Where can I find any infomation about Android login and Tank Auth? or Can you tell me how to do it? please!
I hope someone can give me an answer, please!
Thank you so much.
I assume you are building an Android App that is Native (Java)
a. Then you will have to build a REST API on top your User Data and implement a Register/Login/Activate Account/Resend Code. Writing and Reading from your Database.
You can use Phil Sturgeon's REST API built for Codeigniter
https://github.com/philsturgeon/codeigniter-restclient
b. Build an Android WebView to wrap your website without the Address bar
Disable address bar in Android webview
this is my first project with django and i'm using python social auth to create users with the facebook account's and works fine, now im trying to do the same thing but from android and save information on server, some clue to do this
Check the documentation regarding that at http://psa.matiasaguirre.net/docs/use_cases.html#signup-by-oauth-access-token https://python-social-auth.readthedocs.io/en/latest/use_cases.html#signup-by-oauth-access-token. There you will find a code snippet that will simplify your work, take that snippet as a template where you fill the details related to your project (like the return data, etc).
Edit: updated documentation link.
I'm in the middle of developing an Android app, and in this app I want the user to login or register a new account. The way I want to have the login system to be, is that the app contacts my Drupal website and (the site has the module called Janrain Engage) get the information from there and compare it with the input of EditText.
I have searched around the web to find a solution, but without any luck. I have also tried sample from Janrain Engage own site.
I would be happy if anyone could give me an example how to do this.
I've used the DrupalCloud library for a couple of projects and it worked well. It works together with the Services module.
Services exposes a couple of webservices for the user such as registration and authentication. I didn't work with the Janrain module so I don't know if the user services will be aware of it. If they aren't you might have to write your own service that checks the data from Janrain.
I have the Android Facebook-Connect library running in my emulator and I'm able to set my status with the Facebook API I have setup. However, I don't know where to go from there? Am I supposed to use the session key that this library allows me to get and make some Facebook API calls? I haven't found any code examples to even see what the proper syntax is.
Am I better off using another library? I tried fbrocket with limited luck(I get a "server error 104 - Incorrect signature"). Thanks for any help.
You will need to include your api key and session key in every call you make to the Facebook service. Also I'm pretty sure that the Facebook-Connect for Mobile Web doesn't support sending messages or requesting friends. Which is why with the native FB app when you want to do those things it actually opens up the mobile FB site in the browser.