How to allow more then one user to access facebook api - java

Hi i've integrated Facebook application with my application.
This is only working for the user-account who is registered with the application.
I am not able to find the authorizing screen just after login for users other then the registered user.
How can i achieve this ?
I am using following permission array:-
FACEBOOK_PERMISSION = {"offline_access", "publish_stream",
"user_photos", "publish_checkins", "photo_upload" };
Am i missing something please help me.

The problem you are facing is directly related to the fact that your application is in the sandbox mode. In this mode only the developers, testers and other people registered in the app settings are able to access the application. To allow the general public to use your application, you will have to disable the sandbox mode and then everyone can use it.

Related

What's the simplest way to request information from (own) other applications

The company that I work for has some small android applications running that communicate with their ERP software lately they requested to authenticate users and have sessions for safety reasons
Instead of integrating the autheticate and session code into every app (6) I want to build an Android app that acts like a dashboard. The app will authenticate the user, create a session and show the available apps on the device that the user can access with their user role.
The problem is I need the know which app requires which user role
I don't want to store this information in the dashboard app sinds that will require me to update the dashboard app each time i create or change an app
I was thinking or using an Content provider but that seems to be a lot of work and redundant since it has to be integrated into every app that I have (6)
So my question, is there a way to get data from apps that can easily be implemented. The data isn't big (only one Integer)
thanks in advance.

This app isn't verified This app hasn't been verified by Google yet. Only proceed if you know and trust the developer

Hi I have developed an web application using google app engine, for google shared domain contact, Its working fine when I am running it in the localhost but when I deploy that application into google app engine it showing warning screen before user conforming for consent(as shown in the image).
I am using 2 scope http://www.google.com/m8/feeds/contacts/ and https://www.googleapis.com/auth/userinfo.email. when I try to add a user information in the google shared contact I am getting a exception message as www.google.com. How can I resolve the problem? am i need to verify my application in the oauth_app_verification. Can any one solve this?
Thank you.,
You need to go through the verification process before you launch your app. This new process came recently to protect user's data. You can start the verification by submitting this form but before it is recommended to follow steps here

Sync Google Account programmatically without going through the setup screen

I have a scenario where I have a server that holds username/password. So upon launching my android app and the user it authenticated I would like to automatically sync his account (Gmail for example) without going through the traditional setup screen.Are there any public googe/gmail APIs that I could use for this purpose. Any help at this point would be greatly appreciated.

Sign in/Sign up with Facebook - test users

I am fairly new to facebook integration. I got to add "Sign up/in with Facebook" option to register new users with my web site. I am following these steps: Server-Side Authentication
1) Which account do I use to test this? Will my personal account be suspended or banned if I use it to play with the api?
2) To test the api, do I have to create test users like this? test users
3) Also, to create test users, looks like I need to authenticate as App Can someone explain why I should authenticate as app to create test users?
4) Sometimes, I get confused by the usage of the word "app". My website is not considered a Facebook app just because I use facebook to sign Up/In my users. Correct?
No (if you are doing what you mentioned in the comments)
You don't have to create test users, but it helps to do so. For instance if you are testing wall posting from your app, then it's best to keep your personal profile/timeline clean. When you create an app, you also have the option to create test users in your app's settings page, so you don't need to do it programmatically.
Test users are associated with apps, so probably that's why you need app_access_token. However if you create test users with the ui in your app's settings page, then you don't need to mention any token.
Yes it is considered as one, that's how facebook's graph works, there are connections between external(3rd party) objects(they call them apps, as a generalization, after all your website can be called a web application) and facebook objects like users, pages etc. When you create an app you can see the different types/categories of apps that facebook lets you specify for your app. So it's just a name, nothing to worry about.

Authentication on your Android App

I am developing an Android App where I require a user to authenticate his session before using the app. One way is to store a user name and password by asking him to register on the app and then use that to authenticate him. But i was looking to do something else, maybe use an OpenId account to authenticate or Opensoial or something like Facebook Connect. Any Suggestions and comments? thanks for you help.
Using OpenID is a great idea in fact. You can use the OpenID4Java library. As you can read here, someone has modified that project in order to make it Android compatible.
I know this is an old question but i found this while asking a newer question.
Just an idea but have you looked at the account manager? What version of android are you targeting?
The sample sync adapter example (http://developer.android.com/resources/samples/SampleSyncAdapter/index.html) uses the account manager (http://developer.android.com/reference/android/accounts/AccountManager.html)
It looks like a more secure way of using credentials on a native android client because you don't have to store the password at all locally in your app.

Categories