Google Play Games - How to ask the user to create a gamerId account when signin in - google-play-services

When a user signs in my web based game with Google SignIn through a web browser, access is granted. However, when the app makes a call to the Games Services API, it returns the following error:
User registration incomplete
If the user goes then to the Android Play Games app and creates a Gamer ID account, it works.
So, is there any way to tell the user to create a Gamer ID account when she signs in if she wants to proceed? Or, better, can Google redirect her to a page for that, complete the process and then come back to the app?

The Gamer account (also sometimes informally referred to as Games lite account) can only be created on Android devices. Once it is created it can be accessed from other platforms.

Related

link my users social media account in my mobile app, allowing native app to open

I've got an app with user profiles. On the users profile, I let them put links to their other social media accounts. I know app linking requires the correct app's schema and I know those schemas depend on the system (iOS, Android). I want the user to be able to just copy the url of their social media profile (http://www.whateversocialmedia.com/userprofile),paste it and save it. I will manipulate the string get the "userprofile" out and put it in the schema. HERE's the problem, Facebook, requires an ID for the schema, but most people don't know how to get their ID, while it's somewhat easy to get, it does require right clicking on a mouse and searching some code to get, Does Facebook have an api I can hit to send a username and get back a user ID? I feel like they would want people to link to their app easily. I've looked all over Graph API

To create an authentication system

I am new in flutter and in apps. I work on a little game for the moment and I need an identifier for each member, I have a MySQL database and php script api. I have done a signup page and a signin page too.
I have no experience in app so i would like to know how game apps works exactly. I have bravolotto a lotto game application and if i remember well when you signup you Don't need to login after that. When you open the application you are automatically connected to the app.
What are the best solutions to create an authentication system in flutter.
I need to have the user id on all members page of the app so if the user play I can save the result of his game with his user id in my MySQL database with php api.

Household API not returning my household on my friends phone

I'd like to write an app that lets friends, who visit my place, control my devices using the Sonos API.
My friend is connected to my Sonos home (connect to the same wifi, open Sonos app, select "Connect to an existing system").
The household API only returns my friend's existing household, but not mine. This means that he can't query the groups or perform any playback/start/pause operation using the Sonos API.
Is there any way my friend would be able to control my devices using the Sonos APIs?
Thanks!
When a user authorizes an app to access their Sonos account, only that user's household(s) are visible to that app. The fact that the user is on another Sonos owner's LAN is not relevant, as all communication goes through the cloud.
The only way for user A to access user B's household is for user B to login to user A's app themselves.

Google Play Games OAuth-2: app visibility on Google+

I'm trying to resolve an issue regarding Google+ and authorizing users for an app using Google OAuth-2. More specifically, I find the authorization is successful when the user presses Accept on the consent screen; using the oauth playground and the auth/games scope, that looks like: http://retrofist.com/temp/Auth_01.png
However, if I then check my app privileges at plus.google.com/apps, I see the playground listed as visible to 'Only You': http://retrofist.com/temp/Auth_02.png - even though 'Anyone on the web' was selected on the consent screen. As I'm using Google Play Games for leaderboards, the result is that no one can see any leaderboard entries until they have manually corrected this to 'Public' visibility.
Can anyone explain a reason or workaround for this? Many thanks.
I observed similar issues, my scores was not published publicly to the leaderboard of the game. I then realized that, this is only for users whose email is defined as tester email. I could see the scores as publicly posted after deleting those emails from tester list.

Twitter API - get Account Details from consumerKey and consumerToken

I inherited an application that has tons of users already authorized to get twitter data on their behalf.
The problem is the guy who created is not around anymore and I am left with consumerKey and consumerToken only.
That in itself is sufficient to interact with twitter API, but I now need to know the account details ( in particular the screen_name that created the app) .
I could not find any API to get such details. Any ideas on how to get it.?
There isn't a direct way to find the app owner's screen name, but here are a few things you can do to investigate:
Use the ConsumerKey and ConsumerSecret, that you have, to start the OAuth process.
On the Twitter Authorization screen, you can see the name of the app and who created it.
You might be able to do a Twitter search for the person who created the app and get their screen name.
Continue to authorize the app - this will put it in your app list.
Visit your personal Twitter Settings tab, click on Apps, and find the App that you authorized.
Click on the owner's name, which will lead you to a Web site.
The Web site might be the company Web site, in which case, there is no further help.
The Web site might belong to the owner and it might have a link to the owner's Twitter account where you can get their screen name.
Just know that there's nothing keeping you from using the ConsumerKey/ConsumerSecret that the other guy set up. You can create your own app - preferably with an account that belongs to the company with credentials that the company can access if you're no longer around. Then use the ConsumerKey/ConsumerSecret from the new app on subsequent deployments.