android-facebook

Misconfigured App Sorry, myapp hasn't been approved for display in App Center. in android app share

非 Y 不嫁゛ 提交于 2019-11-29 17:38:57
问题 When i click on my app name on my facebook. It redirect to "https://www.facebook.com/games/?app_id=827708240586758" and showing "Misconfigured App Sorry, myapp hasn't been approved for display in App Center." .. I think facebook have implemented some new features. Please help me to get out from this problem. Thanks 回答1: I had the same problem. You need to submit your app for review on the Status & Review tab (on https://developers.facebook.com/ site) if you want it to be considered for

facebook login callback fires multiple times

自闭症网瘾萝莉.ら 提交于 2019-11-29 09:42:41
问题 My app is having Share button to share story on users timeline. What I'm doing is, user taps on Share button, if user session is not present app forces to Login user with Facebook. When user do that, story directly need to be published. Here's my code. onCreate Method isShared = false; uiHelper = new UiLifecycleHelper(this, statusCallback); uiHelper.onCreate(savedInstanceState); Settings.addLoggingBehavior(LoggingBehavior.INCLUDE_ACCESS_TOKENS); Session session = Session.getActiveSession();

Android Facebook SDK: Key hash does not match any stored key hashes when uploading google play

时光总嘲笑我的痴心妄想 提交于 2019-11-28 16:44:46
My app uses facebook api for user login. On developing it works fine, but when I uploaded it to google play it stops working. This is the error log: 12-10 20:20:02.488: W/fb4a(:<default>):BlueServiceQueue(17284): Exception during service 12-10 20:20:02.488: W/fb4a(:<default>):BlueServiceQueue(17284): com.facebook.http.protocol.ApiException: Key hash XXXXXXX does not match any stored key hashes. 12-10 20:20:02.488: W/fb4a(:<default>):BlueServiceQueue(17284): at com.facebook.http.protocol.ApiResponseChecker.b(ApiResponseChecker.java:83) 12-10 20:20:02.488: W/fb4a(:<default>):BlueServiceQueue

Login Approach with Android Facebook 3.0 SDK

爷,独闯天下 提交于 2019-11-28 11:51:49
While going through the sample program for Facebook Login, I came across SessionLoginSample's LoginUsingActvity.java https://github.com/facebook/facebook-android-sdk/blob/master/samples/SessionLoginSample/src/com/facebook/samples/sessionlogin/LoginUsingActivityActivity.java and another example has different approach to Login using UiLifecycleHelper as in Scrumptious example https://github.com/facebook/facebook-android-sdk/blob/master/samples/Scrumptious/src/com/facebook/scrumptious/MainActivity.java What is the difference b/w those two types which one should i fallow for a simple Login with

How can I access a BuildConfig value in my AndroidManifest.xml file?

☆樱花仙子☆ 提交于 2019-11-28 02:56:12
Is it possible to access a BuildConfig value from AndroidManifest.xml? In my build.gradle file, I have: defaultConfig { applicationId "com.compagny.product" minSdkVersion 16 targetSdkVersion 21 versionCode 1 versionName "1.0" // Facebook app id buildConfigField "long", "FACEBOOK_APP_ID", FACEBOOK_APP_ID } FACEBOOK_APP_ID is defined in my gradle.properties files: # Facebook identifier (app ID) FACEBOOK_APP_ID=XXXXXXXXXX To use Facebook connect in my app, I must add this line to my AndroidManifest.xml: <meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/applicationId"

Get Read and Publish Permissions in one request

爱⌒轻易说出口 提交于 2019-11-27 22:47:10
Before you all say it's not possible, open up the Spotify app and hit the signin with Facebook button. I'm wondering how they did it, and how I can get "publish_stream" and basic permissions/email in one request. Also, is it possible for me to reopen a Facebook session using the Facebook SDK if I have certain info from the last session (last time they used the app)? EDIT -SCREENSHOTS BELOW FOR THE MUSICALLY AVERT Vijay What ever you saw on Spotify is not the outcome of publish_stream .What they have used is the Open Graph Open graph concepts involves integrating actions of the app with the FB

how to implement facebook login in android using facebook sdk 4.7

我是研究僧i 提交于 2019-11-27 08:59:40
I am trying to login with facebook using android sdk 4.7. I have tried the following link http://www.theappguruz.com/blog/android-facebook-integration-tutorial http://www.androidhive.info/2012/03/android-facebook-connect-tutorial/ This code works for me, try it out and check that you are using facebook sdk 4.7 package com.kushal.facebooklogin; import java.util.Arrays; import org.json.JSONException; import org.json.JSONObject; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.util.Log; import android.view.View; import android

How can I access a BuildConfig value in my AndroidManifest.xml file?

喜夏-厌秋 提交于 2019-11-27 05:01:05
问题 Is it possible to access a BuildConfig value from AndroidManifest.xml? In my build.gradle file, I have: defaultConfig { applicationId "com.compagny.product" minSdkVersion 16 targetSdkVersion 21 versionCode 1 versionName "1.0" // Facebook app id buildConfigField "long", "FACEBOOK_APP_ID", FACEBOOK_APP_ID } FACEBOOK_APP_ID is defined in my gradle.properties files: # Facebook identifier (app ID) FACEBOOK_APP_ID=XXXXXXXXXX To use Facebook connect in my app, I must add this line to my

Get Read and Publish Permissions in one request

依然范特西╮ 提交于 2019-11-26 23:14:18
问题 Before you all say it's not possible, open up the Spotify app and hit the signin with Facebook button. I'm wondering how they did it, and how I can get "publish_stream" and basic permissions/email in one request. Also, is it possible for me to reopen a Facebook session using the Facebook SDK if I have certain info from the last session (last time they used the app)? EDIT -SCREENSHOTS BELOW FOR THE MUSICALLY AVERT 回答1: What ever you saw on Spotify is not the outcome of publish_stream .What

Facebook Sdk Has Not Been Initialized FacebookSdk.sdkInitialize()

给你一囗甜甜゛ 提交于 2019-11-26 22:49:43
问题 Hey I know this was asked before, but none of the solutions seem to help. I'm using first time Facebook SDK in my application. What I've tried: I had tried most of the things found on Internet but did not get anything regarding this. Here is my MainActivity.java: public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); FacebookSdk.sdkInitialize(getApplicationContext()