Questions tagged [facebook-ios-sdk]

Facebook's SDK for developing Facebook-connected applications for iOS devices

Facebook SDK 4.x for iOS.

1778 questions
0
votes
2 answers

Facebook SDK for iOS post on wall using open graph API

I'm trying to post a message on my Facebook page and it works fine but the post is visible only to me. My friends don't see it! It seems like it's not "public". I have set defaultAudience:FBSessionDefaultAudienceEveryone so it should post to…
0
votes
1 answer

FBSessionLoginBehaviorWithFallbackToWebView opens in safari but not in webview

I have using Facebook login in my app. I am following guidelines of Facebook and using native app if it's installed. When native app is installed it works fine. But when it's not I am having a issue. I specified…
keen
  • 3,001
  • 4
  • 34
  • 59
0
votes
2 answers

Facebook open graph: built in object fitness.course

I am trying (failing alot!) to use the Facebook iOS sdk. I want to publish a story about the user running without leaving the app. I am trying to use the Facebook built in object "course" and the built in action for a run. I find the documentation…
Sarah92
  • 671
  • 4
  • 12
  • 29
0
votes
1 answer

fbloginview must be touched twice to work

I'm working on a project with multiple people. the app is set up to log a user in via facebook. There was a bug submitted saying that if you log out of facebook, it immediately logs you back in. Not every time, but frequently. After checking into…
Katushai
  • 1,510
  • 2
  • 14
  • 27
0
votes
1 answer

Get info user Facebook SDK iOS

I followed a little 'guides online, but I can not figure out how to get the username of the user such as Facebook. The login and session work properly. But I can not just take the values ​​of the current user. This is the working code if…
0
votes
1 answer

iOS Facebook SDK open facebook app if installed else browser

I am trying to authorize users via facebook. For now I have what I want and I created custom login button with this code after tap: [FBSession openActiveSessionWithReadPermissions:permissions allowLoginUI:YES …
Libor Zapletal
  • 13,752
  • 20
  • 95
  • 182
0
votes
1 answer

iOS: Post on wall of Selected FB Friends using FBWebDialogs

I can post image to facebook friend's wall using FBWebDialogs.What am looking is how can i post image to multiple Friends... Below is my code for single post NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys: …
0
votes
2 answers

iOS - Facebook open graph sharing via app is successful, but does not look the way I want it to on Facebook

I have an iPhone app that is used for taking photos. I just finished adding the Facebook sharing functionality to this app. I went through this entire page here: https://developers.facebook.com/docs/ios/open-graph I followed all of the…
user3344977
  • 3,584
  • 4
  • 32
  • 88
0
votes
2 answers

Trying to fetch inbox and outbox messages from Facebook in iOS

i need to get inbox and outbox messages in Facebook. but i get error as "operation couldn't be completed (com.facebook.sdk error 5.) NSString *uid=@"10000350024x"; NSString *path=[NSString stringWithFormat:@"%@/inbox",uid]; [FBRequestConnection…
0
votes
1 answer

iOS: create a game and challenge friend directly

I created a game for iPad and I want to challenge my facebook friends. I follow the iOS tutorial in "facebook dev docs", with the "Smash game", but it doesn't explain how to challenge a friend directly to a game. I will explain with an example: I…
cyclingIsBetter
  • 17,447
  • 50
  • 156
  • 241
0
votes
1 answer

Pass facebook profilePicture,profileId to profileViewController.

I have been able to pass the user.name facebook properties to profileViewController. But I'm not able to send the FBProfilePicture though here is the method below: // this method will be called when the user information has been fetched -…
0
votes
0 answers

Why Facebook graph api not returning some of likes?

I'm trying to get my friends likes using Facebook graph api, but for some reason it's not returning some likes. My friend have 95 likes but I can get only 81 ... I'm using iOS sdk if (FBSession.activeSession.isOpen) { FBRequest *likesReq =…
Asatur Galstyan
  • 424
  • 5
  • 15
0
votes
1 answer

Is it possible to get a facebook page info without authenticating by iOS SDK?

I'm trying to show information about certain facebook pages in an iOS app, and I know for a fact that it is not needed any authentication when using the graph api by HTTP but I can't find a way to do it with the iOS SDK. Is this possible or should…
rr1g0
  • 383
  • 4
  • 13
0
votes
1 answer

facebook share: description not visible in facebook iphone app

I am using following code to share a link. [self.facebook dialog:@"feed" andParams:params andDelegate:self]; everything works fine except in iPhone, description not visible. It only shows title & image.Is it a bug with Facebook iPhone app or do i…
Arun
  • 41
  • 5
0
votes
2 answers

Facebook request for friends returns 0 friends when session is open

I am building an iOS application that is connected to Facebook. I got most of the Facebook related code (pretty much copied all of it) from the TokenCacheHowTo project. I have run into two problems, one which had a simple fix, but I think may be…
SamB
  • 2,621
  • 4
  • 34
  • 39