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

What does the filed "installed" in Facebook graph "me/friends" specify

I am using the code bellow to get the list of all of users friends and check how many of them have installed the app so i can show their scores, and unlock some content for the user. I can't find solid info about the field installed which seams to…
Dobroćudni Tapir
  • 3,082
  • 20
  • 37
0
votes
1 answer

Fetch friends contacts-mobile/phone number from facebook in ios

In my application, I need to fetch the facebook friends contact details such as mobile number/phone number, email address, etc from the user account. I am able to fetch the list of friends of the user first name, last name, fb id and profile pic.…
RAJA
  • 1,214
  • 10
  • 13
0
votes
1 answer

How to get username and password in iOS through facebook SDK

New to facebook sdk, and can't find a suitable answer to this. I am using facebook sdk to only log in to my iOS application. On login, I want to get the username and email address of the logged in person. How can I get those details without using…
Khawar Ali
  • 3,462
  • 4
  • 27
  • 55
0
votes
1 answer

Open FBSession only if request is going to process

I'm trying to to use the iOS Facebook-SDK correctly and I tried every samples of Facebook and also on the web and idk what im doing wrong. What I would like to achieve is to ask for the Facebook permission only if a request is going to be made.…
SaifDeen
  • 862
  • 2
  • 16
  • 33
0
votes
0 answers

Post on FB friends wall in iOS using SLRequest and Device Settings Credentials

I am developing an iOS app in which I have to invite to user Facebook Friends to join the app. I am using Social Framework to do so. I have successfully posted on FB wall of logged in user but there is a problem in the message which I posted. the…
0
votes
2 answers

Can FBRequestConnection startForCustomAudienceThirdPartyID be used on its own?

I want to get the app user ID for Facebook, as described here: https://developers.facebook.com/docs/ads-for-apps/custom-audiences-for-mobile-apps/ The code snippet they give is: [FBRequestConnection startForCustomAudienceThirdPartyID:nil …
parsley72
  • 8,449
  • 8
  • 65
  • 98
0
votes
1 answer

Calls to FBRequest:requestForMe: returns a nil result

I'm experimenting trying to call FBRequest:requestForMe:startWithCompletionHandler and couldn't get it to work in my own code so have tried adding it to the example project SessionLoginSample but still get the same result which is that the result is…
Gruntcakes
  • 37,738
  • 44
  • 184
  • 378
0
votes
3 answers

How to define a "GeoPoint" property in Facebook SDK for iOS

I'm trying to geo-tag an Open Graph story by creating an Open Graph object that inherits from the predefined "place" object. However, I can't figure out how to define the GeoPoint property "place:location" in iOS! There is an answer to a similar…
Magnus
  • 857
  • 1
  • 10
  • 27
0
votes
1 answer

Facebook location display null

I am integrating facebook login.I need to display friends name and location. name is displaying but location is showing null. The below is my code. Tell me where i am going wrong. if (FBSession.activeSession.isOpen) { NSLog(@"active fb…
user3017305
0
votes
2 answers

Have an active accesstoken, but still getting the error - An active access token must be used to query information about the current user

An active accesstoken is available, but I am still getting an error while using the latest Facebook SDK like code = 2500; message = "An active access token must be used to query information about the current user."; Below is the code I am…
specios
  • 25
  • 8
0
votes
1 answer

Facebook iOS - Error when disallowing app on SSO and then uninstalling app

I've developed an app with Facebook integration and I'm testing multiple failed login scenarios. Then I've saw one that is stucking me. The scenario is: User have iOS 6 SSO configured with his account. Then user open the app and DO NOT authorize…
0
votes
2 answers

Facebook iOS SDK Force Embedded Webview to request publish stream permission

I'm making an iPad app for a restaurant, where customers can sign into Facebook and post on their wall to get a reward. I need the app to force the user to enter their credential every time. I was able to get the login to work with the embedded…
Ricky Gu
  • 585
  • 1
  • 4
  • 13
0
votes
1 answer

How to share a Facebook post with FBWebDialogs using only the post id?

I see from the FBWebDialogs docs that you can pass in a 'link' parameter (hyperlink to external content) to share with Facebook. But in my app I don't have hyperlinks -- I only have the 'id' of a given facebook post that I wish to re-share. Q: How…
eric
  • 4,863
  • 11
  • 41
  • 55
0
votes
1 answer

Is there an *up to date* Facebook login example or documentation?

My question is - is there any example documentation or example project showing how to do authentication with Facebook that is up to date for iOS7? Because trying to go through bad documentation is hard enough, but when the documentation is out of…
Gruntcakes
  • 37,738
  • 44
  • 184
  • 378
0
votes
0 answers

Posting to Facebook using customised views

I am building an iOS app that shares content on Facebook. As a requirement we cannot use the default sharing screen provided by iOS6+ because: We want to use customised views for sharing. We share links with custom actions, therefore we have to use…
Fr4ncis
  • 1,387
  • 1
  • 11
  • 23
1 2 3
99
100