I use the Facebook SDK to provide a facebook login in my new app. Debugging my program everything worked fine so I finally uploaded my app on the Android market. Now, I have just downloaded my app and the login does not work. If I try again running the app on Eclipse, everthing all right.
Do you know how to solve this strange problem? I use the same smartphone to debug and to download/use the app from the marked.
This is my code.. it is the "standard" code that I have seen in several discussions:
Session.openActiveSession(getApplicationContext(), true, new Session.StatusCallback() {
public void call(Session session, SessionState state, Exception exception) {
if (session.isOpened()) {
Request.executeMeRequestAsync(session, new Request.GraphUserCallback() {
public void onCompleted(GraphUser user, Response response) {
if (user != null){
...
Thank you in advance.