Google App Engine Create New Google Account - java

I am working on a requirement in which I have to create new registration module for creating a new account on google. I plan to used google app engine with Java environment.
Now I have no idea for meet this requirement.
Can you advise me to create this module.
And I have another one question, does Google APP (Free Edition) use SSO or not?

To my understanding Gae does use sine sign on

I would suggest you to take a look at documentation on GAE here
And a small article written for authentication by me here
When user is redirected to Google login screen, and he does not have an ID, he can create one ( I would first suggest you to work on part where user is forwarded to login screen and is asked to login, you will understand what I mean)
As far SSO, there are discussions here and here which do suggest it can work with proper configuration. Hope this helps

Related

Java activity class in android studio

Good evening everyone. I have been teaching myself on app development thus far and it's been rewarding. I have a bit of a question which in my opinion is basic...very basic. I have developed a project to the login screen phase working with java in android studio 4.2.now, my questions are;
On the login screen activity class, is it possible to have 2 methods implemented for both email&password login and social media login? My aim is to have one screen(login screen) that handles this activity with a firebase backend, and keeps the user logged in until such a time that the user logs out.
Can someone please recommend a reference that can aid my developing this page successfully?(i have scoured YouTube but i find only materials that talk either one (email&password authentication using firebase) or the other (social log on topics). Which prompted me to ask the first question.
Which is also based off of question 1; if i can have 2 methods implemented do i still have to "Override" before i can implement another method?
I really will appreciate any help offered.
Thank you
Firebase UI sounds like a good candidate for your problem because it handles multiple providers (email, socials, google and phone) so that you don't handle that yourself.
Firebase UI aims to eliminate boilerplate code and promote best practices both user experience and security when Authenticating.

Instagram Third Party api

Actually i wanted to make a clone of instagram and show user feed in another way and change the language of app for my own country , but there are several problems with standard instagram api
1.you cannot have user feed
2.you should become live to have user data
i guess some of apps use another api which is based on web version and i think this api fetch data from instagram webVersion or maybe official app,
i searched for a private api and i didn't found something suitable for my Task
i hope you guys could help me to find another instagram api for my job
it's better to be based on java or android
Thanks

Website to android app approach

I'm a newbie android developer and we have a website that sells some stuff (using a payment gateway), you can also login on the site using credentials, facebook, or google+ login. Now we have a need for an android and iOS app. What is the best approach to port the site functionalities to Android or iOS app? What are the issues I need to consider when I choose one approach? What would be the best approach: native, hybrid (phonegap, xamarine etc.) or using wrapped (using webview as far as I know)? I'm especially interested in the user login part (because I want the user to be able to login to his account if it exists and if not to create it using the website API endpoint - this is how I imagine it), how to solve that when choosing between these approaches? Any suggestions (answers, comments, links, books) would be helpful.
Thanks
My sugestion is to do native, always can reach more performance in multi thread ,high concurrency transactions and heavy applications.
For android, you can build from source an application, and export the html/css content to the smartphone using android.webkit.WebView. Take a look:
https://developer.android.com/reference/android/webkit/WebView.html
I think is a excellent solution for your problem.

Facebook Android sdk and Facebook app overlapping

I have developed an Android game that integrates facebook SDK for checking if one has liked and sharing results.
I heard from my mate that he had problem that made him unable to use the like for reward feature on my app, so I decided to install facebook app myself to check out the problem.
For some reason if I am trying to access the fb api reading data from URL "https://api.facebook.com/method/pages.isFan?format=json&access_token=ACCESS_TOKEN&page_id=PAGE_ID" it opens up facebook app on Android which only flashes and then turns off.. How can I avoid this or is there better way to check if one has liked my page in order to give him reward?
I haven't used the Facebook API, but the Facebook app is probably opening because it's listening for broadcast Intents to "api.facebook.com". You could explicitly send the intent to a browser package instead, but this isn't a good solution as there are many browsers.
I would try to do a HTTPS request using a Loader to fetch and parse the json. Have you tried this yet?
I can't paste any code right now, sorry.
From your comment to above Answer , Glad to know that you solved your problem,
Here is the answer for your Question
is there better way to check if one has liked my page
You can surely use FQL - Facebook Query Language to do this, given under the developer documentation in Facebook site.
There are Two different table
1.Page - where you can get all the detail about the page
2.Page_Fan - which you can use to know the fan-id for the page

Facebook login using java-facebook-api

I am struggling from couple of days, to add facebook login to web app using java facebook api, since my web application is java/j2ee application. I went through few blogs, since facebook doesnt have provide the official java library.
I went through this blog and code and tried to make a prototype, but its not working, i could say i spent lot of time debugging the code and removing the errors which I got instead of testing the code.
Logging in with Facebook Java API
Facebook Java api example to publish on Wall
I also took a look at the facebook javascript login button which is quite simple and easy go, but I have couple of clarifications to be made her.
When the user logins I want to retrieve his email_id,profile_picture and also his name, rest of the things I will ask user to fill it up.
My questions are here
How do I retrieve the profile_picture of the user?
A user should be able to see the name and picture of the users who all are logged in
use facebook login,so should be save the picture in the database or I can get it dynamically?
How do I manage the database, suppose the user A visits my site and clicks on fb login for the first and the same user A visits my site for the site and clicks the fb login button, how should I managing the user sessions?
Kindly help me
thanks in advance
Well, I think the best you can try to do, and I offer my help to do it, is "convert" the php sdk classes (base-facebook.php and facebook.php) into java classes. After that it will be easy to answer your questions. By the way, if you gonna do some server-side processing, why not using php instead of java-ee?

Categories