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
1 answer

Make a QBFlatButton Shimmer with FBShimmer

I'm trying to get Shimmer on a programmatically added button. It's a QBFlatButton, userStateButton = [[QBFlatButton alloc] initWithFrame:CGRectMake((cellView.frame.size.width - (80 + 20)), (self.screenHeight/(cellCount * 4)), 80, ((self.screenHeight…
user3451350
  • 61
  • 2
  • 8
0
votes
1 answer

SLComposeViewController to post image on facebook in ios7

Looks like SDK create "iOS Photo" by default Instead, How can i specify new Album creation as "XXXX" Once i successfully posted to [facebook] it's showing iOS album links to (http://www.apple.com/iOS) Instead, How can specify own link to album
shervin
  • 31
  • 1
0
votes
2 answers

FBDialogs retrieve post_id on success

I am sharing a link using FBDialogs and as part of the tracking i want to give post_id of that shared post back to the server. How can I retrieve post_id on success [FBDialogs presentShareDialogWithLink:params.link name:params.name …
Mihir Mehta
  • 13,743
  • 3
  • 64
  • 88
0
votes
1 answer

Not able to Login With Facebook natively

I'm able to login in iOS app through Facebook using Browser but if I login in facebook from settings-Facebook then everytime it gives me error. That says "An active access token must be used to query information about the current user + ios…
0
votes
1 answer

Trigger a segue from AppDelegate

I'm a noob to iOS dev and I'm trying to implement a simple Facebook Connect, but when the user is logged in I want the app to change view automatically. In my storyboard I have the FacebookLoginViewController that is embeded inside a…
maxwell2022
  • 2,818
  • 5
  • 41
  • 60
0
votes
1 answer

NSString passing variable from for-loop.

I'm still pretty new at coding and am trying to combine the sample code from two projects. Question: Basically, I want to capture the name of the image file (all named card1.gif, card2.gif, etc) in the for loop and set it to the _imagename variable,…
user3534305
  • 31
  • 1
  • 7
0
votes
0 answers

Facebook Login Only Works in Simulator

When my app needs to login to Facebook in the iOS simulator, it works perfectly. But when I run the app on a device, I click the "Login" button, it says "Project would like to access your basic profile info and friends list", I click OK, and nothing…
Henry F
  • 4,960
  • 11
  • 55
  • 98
0
votes
0 answers

Detect Button Press in FBLoginView

I need to fire a certain method as soon as the user clicks the "Login" option on the FBLoginView. Once the window displaying the login fields disappears, I figured that viewWillAppear would fire, but it doesn't. Does anyone know of a way to detect…
Henry F
  • 4,960
  • 11
  • 55
  • 98
0
votes
1 answer

Facebook SDK error 2 from iOS`

I'm trying to log into facebook from an iPhone app but everytime I try running the app it gives me a The operation could not be completed (com.facebook.sdk error 2). I have tried a ton of stuff, resyncing the facebook account of the device (like…
0
votes
1 answer

3rd party iOS app with twitter sign in button

I am working on the authentication part of my app. I have both facebook and g+ sign in working. Both fb and g+ provides sdk that makes it easy. I am wondering if twitter has the same thing? The ideal flow I am looking for is user taps a twitter…
Erben Mo
  • 3,528
  • 3
  • 19
  • 32
0
votes
1 answer

How to find out which one of Facebook profile pictures is main?

I'm fetching user profile images from Facebook like this: [FBRequestConnection startWithGraphPath:@"me/albums" completionHandler:^(FBRequestConnection *connection, id result, NSError *error) { if (error) FRLogError(@"ERROR %@",…
Andrey Chernukha
  • 21,488
  • 17
  • 97
  • 161
0
votes
1 answer

Is it possible to background job social shares on iOS?

My app will most likely be used when no internet connection is available but I'd still like the user to be able to share content when they're using it - and then have my app post to FB/Twitter/etc when they have internet access. Can I make an FB or…
Gerard
  • 4,818
  • 5
  • 51
  • 80
0
votes
1 answer

How to Like in Facebook using FacebookSDK.framework Facebook

I have used FacebookSDK.framework for Facebook integration in my application. I have to like one facebook page from application. I have used following code for liking page. NSDictionary *params = [NSDictionary…
Nirmalsinh Rathod
  • 5,079
  • 4
  • 26
  • 56
0
votes
1 answer

Know when facebook login button is pressed in ios

I want to show a HUD when somebody press the facebook login button. Currently I struggle to know when the button was pressed. I tried to grab all taps of the view, but this does not work for any reson on the facebook button... How can know when…
jerik
  • 5,714
  • 8
  • 41
  • 80
0
votes
2 answers

Facebook SDK for iOS doesn't post a photo along with the link

I'm trying to post a message including a link and an image, but on the post I can't see the image. I don't get error. The post is published correctly, displaying both the message and the link, but the photo does not show. -(void)postOnFacebook { if…
swifferina
  • 293
  • 4
  • 16