Questions tagged [facebook-sdk-4.0]

2

votes
0

answer
9

Views

Update Facebook SDK issue

I use Facebook SDK login feature. In console written 'Your Facebook SDK is out of date. We recommend upgrading to the latest Version 4.37.0, to ensure your app's performance is not affected and to take advantage of our newest features!' I updated SDK pods to 4.4.1, but this warning still there. Any...
Artyom Vlasenko
1

votes
1

answer
501

Views

Could not build module 'FBSDKShareKit'

I'm upgrading some pods, namely to support ParseLiveQuery. I'm now running into an error in one of my header files Could not build module 'FBSDKShareKit' Also in my errors: Podfile: source 'https://github.com/CocoaPods/Specs.git' platform :ios, '10.3' inhibit_all_warnings! use_modular_headers! work...
Zack Shapiro
1

votes
0

answer
141

Views

How to share bitmap with text and url on facebook?

I tried different techniques but some one sharing only image on facebook and some sharing only text or textwith url using SharePhoto but no one sharing local image like bitmap,description and url at a time.May be I am doing wrong.I am stuck from one day if any one know about it then please give me s...
humayoon siddique
1

votes
0

answer
132

Views

Set test user's “Current City” for app using Facebook SDK

I have created an app on developers.facebook.com. I would like to set the 'Current City' for a few test users I have created. But when I 'log in as this test user', I cannot change the current city to anything except 'Kolkata'. I know, this is a very strange error, and I have tried on multiple web...
Theme
1

votes
0

answer
67

Views

Proguard problems with Gigya integration Facebook SDK

I've had problems with proguard showing the facebook login button. It wasn't showing when an APK was executed running Proguard. Finally, I manage to solve it by adding the following lines in the proguard-rules.pro file: *## Facebook specific rules ## -keep class com.facebook.** {*;} -dontwarn com.fa...
Estibaliz Torralbo
1

votes
0

answer
41

Views

Facebook login accidentally logs into someone else's account

I am using facebook SDK for social login, it works well most of the time, but sometimes when a user tries to login with Facebook they accidentally logs into someone else's account. I am using facebookId as unique Id in my DB, and if an existing user logs in again, through this facebookId i validate...
Ketan Saresa
1

votes
0

answer
321

Views

Facebook sdk conflict, compatibility error ? - Duplicate value for resource 'attr/font' with config "

I am trying to use facebook login API, but when I write the 'implementation' in gradle file, I get an error : Error:(252, 5) error: duplicate value for resource 'attr/font' with config ''. Error:(252, 5) error: resource previously defined here. When I click on 'Jump to source', Android Studio brings...
Elynad
1

votes
0

answer
42

Views

Facebook SDK Single Friend selection with

My mobile app uses Facebook SDK for authentication and users can invite one of their facebook friends who installed the app. One approach is makeing a GraphRequest to /me/friends and showing a new ativity with a RecyclerView.I didn't want to implement my own custom picker so tried to make the invita...
Ilker Baltaci
1

votes
0

answer
40

Views

how to post a image with default text on facebook page through my app using facebook updated sdk in ios objective c?

I'm developing a basic gaming app in which i want to share my winning score screen with a default text on facebook page using facebook updated sdk. I wrote code for sharing the screen shot but i'm unable to add default text. I will be very thankful if anyone solves this issue. Here is the code i use...
Charishma Rao
1

votes
0

answer
28

Views

Is it possible to re-post existing FB post on user account/feed? How?

Intro I'm working on some project where I did the backend (API/DB and admin panel website) and another dev/company does the mobile app (for iOS). I did my part of the job and was asked to overview the mobile app development in general: test the app on provided iPhone device and ensure that it looks...
LazyOne
1

votes
0

answer
374

Views

facebook install ads integration with an ionic app

I am trying to setup facebook ads install for my ionic app and I can't just seem to get it right. I have successfully installed the SDK from here: https://www.npmjs.com/package/cordova-plugin-facebook4 and redeployed the app on the store. But the instructions on setting up an app for facebook whic...
neksoni
7

votes
3

answer
164

Views

java.lang.NoClassDefFoundError and ClassNotFoundException after add android Facebook SDK to the project

I just added android Facebook SDK to my project to use Facebook ads to promote my app and the app crashes on starting, I got this exception here's the log E/AndroidRuntime: FATAL EXCEPTION: main Process: www.pro_cs_is.com, PID: 20307 java.lang.NoClassDefFoundError: Failed resolution of: Lcom/faceboo...
Dr Mido
1

votes
0

answer
44

Views

How to properly track conversion on an Android app funnel?

We have an Android app that requires users to fill out a form in multiple steps on various pages. For marketing purposes, we need to know what the conversion is at each step of the funnel and how the conversion differs based on the user acquisition source (for example what is the conversion for a us...
Jonas
1

votes
0

answer
99

Views

Can't see my Custom App Event (Facebook Analytics)

I've integrated the Facebook SDK to my unity project, and I get the standard event every time I install or Launch the application. The problem is that I tried to add a custom event and I can't track it. It does not appear in Facebook Analytics Event Debug. public void LogStart_gameEvent() { FB.LogAp...
Thewerebean
1

votes
2

answer
112

Views

Facebook SDK is not getting recognized in android studio

I have added the below mentioned dependency and the repositories. But even after Sync and Rebuild, Facebook is not getting added and hence the import is not happening in the java file. This is as per the document provided by facebook. I have similar setup in other app. Please let me know if I am mis...
iappmaker
1

votes
0

answer
38

Views

Share Images on Facebook, under a Business Page

I'm using Facebook SDK in order to use sharing feature; and I'm able to share an image using below code snippet, SharePhotoContent content = new SharePhotoContent.Builder() .addPhoto(sharePhoto) .setPageId('businessPageId') .setShareHashtag(shareHashTag) .build(); It's working fine, but the thing is...
Chamika Peiris
1

votes
2

answer
113

Views

Facebook login button showing after 1 second page loaded

I am trying to learn Facebook login and find how can I integrate to a asp.net MVC project. First, I am trying to learn in normal html version in my website I used Facebook login button from docs. But when my page loaded it takes 1 or 2 seconds to show my Facebook button. How can I solve this problem...
Fahri Bilici
1

votes
0

answer
24

Views

Not getting a callback in onActivityResult while trying to integrate Facebook Login

I have been trying to integrate Facebook login with Android, login to facebook happens, however I am not getting a callback in onActivityResult. I have already followed this: Facebook Login CallbackManager FacebookCallback not called? However, my problem remains unsolved. Here is a code snippet: @Ov...
user1903022
1

votes
0

answer
52

Views

What should be used as an event parameter with FBSDKAppEventParameterNameOrderID key in Facebook Analytics SDK?

FBSDKAppEventParameterNameOrderID is name for event parameter for both FBSDKAppEventNameSubscribe and FBSDKAppEventNameStartTrial events. Official documentation contains the following description for it. /** Parameter key used to specify the unique ID for all events within a subscription * in an FBS...
Pavel Osipov
1

votes
0

answer
70

Views

Redirection of facebook login failed after I have added a valid redirect URL to my app settings

I am trying to redirect to my URL after login to facebook. I have added the redirect URL in Valid OAuth Redirect URIs and in the application.yml file I am using spring boot social login for login using Facebook. The following is my redirect URL 'https://en9edxlpjnigp.x.pipedream.net/' I followed the...
r123
4

votes
0

answer
77

Views

Facebook Share Dialog does not show the“tap To Change account” in Android

I am using Facebook Sdk 4.38.0. I followed this document: Facebook Sharing on Android I want to create an app that allows user to select one page from the all of his Facebook pages to share content, such as the public page or business page. When run the app, although the user has a business page, he...
1

votes
1

answer
264

Views

accessToken on faceook php sdk 4.0 and Javascript sdk on laravel

I use js-sdk with php-sdk and this is my php code when js is login loginController.php FacebookSession::setDefaultApplication('appid','sec'); $helper = new FacebookJavaScriptLoginHelper(); try { $session = $helper->getSession(); } catch(FacebookRequestException $ex) { // When Facebook returns an err...
1

votes
2

answer
369

Views

Facebook isValidRedirect always return false

I'm working on SDK v.4 but something seems wrong with Class FacebookRedirectLoginHelper method isValidRedirect. the SDK code is protected function isValidRedirect() { return $this->getCode() && isset($_GET['state']) && $_GET['state'] == $this->state; } While $_GET['state'] is the parameter in the ca...
Hassan Ibrahim
1

votes
4

answer
5.3k

Views

How can I install the facebookconnect cordova plugin?

I am trying to use the com.phonegap.plugins.facebookconnect plugin. To install it, I must provide two variables, like this: cordova plugin add com.phonegap.plugins.facebookconnect --variable APP_ID='' --variable APP_NAME='' This works, but then the build fails because of this issue. BUILD FAILED /Ap...
Shawn
1

votes
1

answer
2.3k

Views

import FacebookSDK in Xcode 6 - swift

I followed this tutorial Xcode 6 Tutorial: iOS 8.0 Facebook Login in Swift. But inside my Bridge-Header.h Xcode gives me an error in the import line (#import ): 'FacebookSDK/FacebookSDK.h' file not found What should I do? Thank you.
Rodrigo Ruiz
1

votes
1

answer
93

Views

Is there any way to post just TEXT on facebook friend wall , not a link?

I'm facing a problem while i want to post just text-msg to FB friend wall. I know that i can share link and than additionally write the msg of the post. But i am wondering if there is any way automatically to pass the msg field as a param to the dialog. I want my text to be shown on the place of the...
nikolaDev
1

votes
1

answer
229

Views

How to log out of Facebook without any dialog box popping up?

Every time I try to programatically logout of Facebook from my application I get a dialog box saying Logged in using Facebook and gives me only two option and those are logout and cancel. I want to get rid of this dialog box and do the logout in background. I can not figure out how to do this. Some...
jhone abdullah
1

votes
2

answer
101

Views

Unable to get like status with facebook PHP SDK

I have a Facebook tab application in which page should be redirected to other page only when user like. In previous version 3.2.3 SDK provides the status straight a way... But it was deprecated after November 2014. My current server version is 5.3 but SDK4.4.0 supports only on PHP 5.4 or higher. But...
Butterfly
1

votes
1

answer
1.5k

Views

Facebook SDK 4 in Android Studio ExceptionInitializeError Login v2.3

First and foremost could someone provide me a sample that just connects and switch to another fragment when logged in that would be great so I'll have working code I can look at to understand. I'm just trying to put a Login button on a test page when the user is connected with facebook then the frag...
Ced
1

votes
1

answer
2.9k

Views

Getting “FBSDKErrorDeveloperMessageKey=(#324) Requires upload file” when trying to post image

I'm currently in charge of implementing several new features to a social network app, one of them is whenever the user posts an image it automatically gets posted on the user's facebook as well (exactly the same way Instagram does). So far I came up with this: FBSDKAccessToken *token = [FBSDKAccessT...
Lucas Wehmuth
1

votes
1

answer
693

Views

Facebook SDK v4.0.1 Failing to compile with gradle

I am having trouble using Gradle to build Facebook SDK 4.0.1 in Android Studio 1.2 beta. There is no compile error, but the compiled library is not in my External Libraries. Previously, I successfully had: compile 'com.facebook.android:facebook-android-sdk:3.22.0' However, compile 'com.facebook.and...
Phil
1

votes
2

answer
834

Views

Log out from my app (developed using facebook android sdk 4.0) and installed facebook native app

I have added Facebook Log-in and Log-out functionality in my android app using Facebook SDK4.0. I am having one particular problem for log-out from the native Facebook app. My app is for an event where hundred users need to log-in and install event app to share their event experience. So, i need th...
MaxGreen
1

votes
2

answer
456

Views

Facebook SDK invalid Hash Key

I'm writing an android application with my friend. In the application we use Facebook SDK and a login button. We already setup the hash key using the code similar to what facebook suggests Code in the app profile in facebook. We also wrote the key under Settings -> Key Hashes. When testing the login...
Epsilon
1

votes
3

answer
2.6k

Views

How can I found facebookSDK.framework on facebookSDK v4.0.1?

So I've downloaded facebookSDK pkg, and I already installed it to on my document folder. But I can't find facebookSDK.framework inside the folder, I need it for my iOS project. Where I can find it?
1

votes
1

answer
2.4k

Views

Facebook SDK: AccessToken.CurrentAccessToken always null, even after logging in

I am using the following code (on Xamarin) to log in using the latest Facebook SDK (I am also using Parse to manage my backend): partial void LoginWithFacebook (UIButton sender) { LoginManager login = new LoginManager(); login.LogInWithReadPermissionsAsync(kPermissions).ContinueWith(t => { if (t.IsF...
Umar Jamil
1

votes
2

answer
610

Views

FacebookSDK on Android - SharePhotoContent with Message body

I have a button in my game where I make a finish level screen capture , I then attach that picture to a Facebook SharePhotoContent dialog from the newest SDK. It all works as it's supposed but how do I also insert a custom message body so that I replace the standard 'Say something about this photo'...
gogonapel
1

votes
1

answer
1k

Views

FacebookSDK on Android Studio - Using Audience Network

I've a doubt, I'm working with facebook sdk on Android Studio. I include it as the documentation says: repositories { mavenCentral(); //FACEBOOK SDK } ... dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') compile 'com.android.support:appcompat-v7:22.2.0' compile 'com.facebook.android:...
AlphaDeveloper
1

votes
1

answer
86

Views

Updating status and changing its visibility on Facebook?

I'm trying to do on Android something like IOS does, which is posting a message and choosing the visibility of that post. I'm using the follow code to update the user status, although I wanted to give the user a way to choose the visibility of that publication: GraphRequest graphRequest = new GraphR...
iGoDa
1

votes
1

answer
41

Views

Parse compatibility with Facebook SDK

I've just downloaded a PARSE Starter Project, as well a the latest Facebook SDK. I've followed all the steps from Parse and Facebook tutorials on how to get started, and I had to solve a lot of issues linked to the bridging header. However, now that everything should work fine, I got a problem: Pars...
dpstart
1

votes
1

answer
960

Views

When to use Facebook AccessTokenTracker Android SDK?

I am interested how to handle AccessToken expiration when using the Facebook SDK for Android. According to documentation of Access Tokens they are saying that developers don't need to worry about token expiration : 'When using iOS, Android or our JavaScript SDK, the SDK will handle making sure that...
FilipR

View additional questions