Facebook sdk 4.x is latest set of API for Facebook developers. It has two branches: - Facebook C#/.Net SDK 4.0 - Facebook PHP SDK 4.0
Questions tagged [facebook-sdk-4.x]
211 questions
0
votes
1 answer
Not getting user Facebook feed using Facebook SDK 4.10.0 Android
I am using Facebook Login in my Android App. I have successfully login with Facebook but I am not getting particular user`s feed. i.e posts which are posted by that user on Facebook.
What I have tried is like below...
package…

Maulik Dodia
- 1,629
- 2
- 21
- 48
0
votes
1 answer
facebook post photo on the friends wall with android sdk
I am a new developer on Android. I am trying to make an app that people can manupulate the image then share it on facebook or other social networks. I have downloaded the facebook sdk 4.9 then followed the all instructions. The problem is that, I…

eminuluyol
- 197
- 6
0
votes
1 answer
How to Add Feeling excited, Reading, Watching, etc in publish post using Facebook android SDK?
Is it possible to publish post to user's wall with " - feeling excited, reading, watching", etc using facebook android SDK? I search in the documentations but didn't find any way to do that.
I am posting the status this way:
mFacebookCallback = new…

Rezaul Karim
- 1,311
- 1
- 18
- 26
0
votes
2 answers
Unable to import 'facebook' sdk 4.9.0 as module in android studio 1.2
I get 'Specify location of the gradle or android eclipse project'. I followed the following steps:
1) Added mavenCentral and dependency in app->build.gradle as
apply plugin: 'com.android.application'
android {
compileSdkVersion 22
…

Atihska
- 4,803
- 10
- 56
- 98
0
votes
1 answer
FBSDKAppInviteContent prompting for login
I had successfully logged into Facebook using Parse Facebook, when I try to invite friends, it is prompting for login windows on safari browser first (which should be invite friends windows). It is on IOS9 with FB IOS 4.8 SDK. Here is the code.
…

user1688346
- 1,846
- 5
- 26
- 48
0
votes
0 answers
IOS Swift App crash when login with facebook
I had my iOS app rejected by the Apple review team. They report the app crashes when they Login. When I do testing on my own devices everything works fine.
full crash log
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes:…

Warat
- 1
- 1
0
votes
1 answer
Edit FBSDKShareButton's design
Good evening SOs!
I would like to adjust the layout and text on my FaceBook-share-button so it says something else than just "Share"
Is this possible? I have been able to adjust the Frame of the button but I would at least like to change "Share" to…

Joakim M
- 1,793
- 2
- 14
- 29
0
votes
0 answers
about facebook android sdk GameRequestContent call failed
USE the facebook-android-sdk 4.8.1
i want use GameRequestContent API send a games request to friend
i have a real id for my friend ,then i call GameRequestContent a to send a game request
like this
GameRequestContent content = new…

jun xia
- 137
- 1
- 6
0
votes
1 answer
app invites dialog uses UIWebView
I am using the beneath code from Facebook sdk. The problem is that the dialog opens up in UIWebView. I can see that there is a native dialog, but why is my code open UIWebView? I have the native Facebook App installed on the…

Chris G.
- 23,930
- 48
- 177
- 302
0
votes
0 answers
LibGDX Facebook integration with AndroidStudio
I am building an Android game using LibGDX that needs to share achievements in Facebook. I followed this guide up to step 5. But when I tried step 6, I get an error on import com.facebook.FacebookSdk; saying it 'cannot be resolved'.
build.gradle…

kasper360
- 367
- 2
- 4
- 14
0
votes
1 answer
Facebook Login doesn't load and prints error -canOpenURL: failed for URL: "fbauth2:/" - error:
With Facebook SDK 4.7.0 trying to open the Facebook login dialog fails. 'Nothing happens' from a UI standpoint.
I get -canOpenURL: failed for URL: "fbauth2:/" - error: in my console log, which people are saying I can ignore
I also get this warning…

CQM
- 42,592
- 75
- 224
- 366
0
votes
1 answer
Share button looks disabled
I'm trying to use a share button in my application, but it looks as if it was disabled:
I already initialize the sdk:
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
…

amp
- 11,754
- 18
- 77
- 133
0
votes
1 answer
Maintain Facebook auth session for mobile app
I am a newbie in mobile app development, and am working on my first iOS app.
The concern I have when I integrate FBSDK for authentication is after a while, the token will expire, and the app can no longer perform Facebook actions. What would be the…

Khanetor
- 11,595
- 8
- 40
- 76
0
votes
1 answer
Force Facebook Audience Network to display video ads?
Recently, i have tested the facebook audience network into a sample app. Everything work fine include the interstitial and native ad. However, my company need to me to just display the video ad to take advantage on the new function click to play…

Cherng Shyang
- 25
- 6
0
votes
1 answer
Get Facebook access token without login in android
I am trying to get facebook access token without login button.
I am using facebook sdk 4.4.0.
this is my code:
public void getImagesFromCloud(final CloudObject cloud){
String socialName = cloud.getSocialName();
switch (socialName) {
…

OShiffer
- 1,366
- 12
- 27