I have an online Java game I'm working on, how would I go about making it so that it was able to "know" which facebook user was logged in and who their friends are? (It's sort of a social writing game and I want users to be able to choose which friends are allowed to edit the story)
On your web page, have the facebook login button plugin to get people to log in. Then you can grab their user id for friends using one of the SDKs (your choice...what ever is easiest to integrate into your java code) and then pass that info into your java app.
Related
I'm planning to create an app for my classmates this Holiday So that we will be able to interact, share ideas, and challenge ourselves in a quiz.Like the SoloLearn app.
My Plan
-A user profile
-Home page where users can share ideas with each other.
-A page where users can complete a quiz to test their knowledge.
-The Challenge Zone where users can challenge each other in a quiz.
-.Settings
1.where a user can log in /log out
2.control the sound of the app.
3.switch to night mode and a search button to find other users.
But I don't even know where to start.
Have already download Java version 8, and Android Studio on my PC but I don't know the next step to take.
How do I achieve this goal?
The best way is by learning the course and Moreover it is freely available at https://www.udacity.com/courses/android
Moreover they teach you from very basic level so just check it out i have tried it too
if ever you want to create an app painlessly, consider app inventor from the MIT found here
I have an existing App Engine (Java) app and we use the UserService for Google Account authentication of our users.
We'd like to update the Application name that shows up on this screen when users click through to allow access to their Google Account:
I am pretty sure it was an option in the old App Engine console/settings screen but I cannot find it in the new settings screen.
Does anyone know where this setting has been moved to or how to update the Application name?
As an aside, incase any App Engine team members track this tag, is App Engine OK? Is anyone testing it? I am a bit nervous! This is how my settings screen looks in the new Cloud Console:
From the Signing in and out section of the Users Java API Overview doc:
If your app uses Google Accounts or Google Apps for authentication,
the name of your application appears on the sign-in page when the user
signs in to your application, using the application name you chose
when registering the application. You can change your application name
in the Google Cloud Platform Console projects page. Click on the
pencil icon for the project you want to rename.
Confirming the answer from #steeling in this python Q works:
https://stackoverflow.com/a/36829844/883778
Not sure if there's a proper way to refer to another question's answer as the answer for this question. If there is let me know.
I'm in the process of making an alternative facebook app for android, but I have no idea where to start. I'm looking at the Facebook SDK but that seems like it's used for people who want to use Facebook as their platform for their own seperate apps. I want to make a login screen like facebook login screen, and I'm looking at their SDK but their SDK seems like it's for completely different apps that use facebook as their platform. I'm just really dumbstruck about how I would do this facebook alternative. I'm pretty new to programming aswell. However, making something like a facebook app alternative, where would I start?
well, the Facebook SDK fits your need flawlessly.
users will have to grant you the privileges to read & write on their behalf and then, the SDK is the limit.
i suggest you take a look at the Getting Started guide & search 4 a good library.
I have spent 2 hours browsing this forum and other sources and still cannot find a basic solution - simple java code to fill an online registration form (only few fields) and submit it.
As an example I would use Amazon. Imagine my java app has only one button "Create Amazon Acc". User click on the button and a new amazon account has been registered. Amazon is not my actual target website but I can notice that there is same-level very basic form with few fields, no captcha, and the account gets opened immediately and the user is automatically loggen on.
Direct link to the amazon reg form.
I am only a java learner (University level) and just look for any ideas to implement my regNewAccount() method.
The full application will be used to make a quick order of an item at one particular online store. I want a small JFrame with one button "ORDER NOW", then input dialog "1st line of address" "postcode" "city" - which will register a new user account at that website and make an order so everything is done by one click. Possible???
You will need enter your data on the client browser and submit it to a Java application that is hosted on the Server.
Try looking into the GWT framework which essentially will help you create a Web application with the capability to submit data to a Java application on the Server.
If you are familiar with Java, it is relatively easy to pick this up.
Lets say I have an application on android and two of my friends have downloaded it. Many apps such as words with friends have the ability to look at your friends, find out who has downloaded the same app and display it in your own application so you can play/challenge them now does anyone know a good starting point at what to look at to accomplish this goal of finding which of my friends are using my app through facebook or what can I do to achieve this?
You can query me endpoint as following
/me/friends?fields=id,installed,name
It will return friends of user with either installed feed set or not depending upon the condition if they have installed or not.
Further documentation here