Questions tagged [facebook-sdk-3.1]

The latest released version (as of January 30, 2014) of the Facebook SDK for iOS.

135 questions
37
votes
7 answers

Facebook SDK 3.1 - Error validating access token

I'm trying to transition my app to the new Facebook SDK 3.1 (with support for iOS6 authentication). I had it working just fine, so I then decided to remove the app from my list of authorized apps on the FB website in order to test that iOS would ask…
tarmes
  • 15,366
  • 10
  • 53
  • 87
10
votes
2 answers

Facebook SDK access tokens and ajax

I followed the Facebook SDK for PHP docs and created two files, login.php and fb-callback.php, with all the lookup logic in fb-callback.php. When I do this, everything works fine. But I want to move the lookup logic to get-posts.php and call it via…
Kenneth Vogt
  • 985
  • 4
  • 12
  • 28
10
votes
1 answer

Submit Facebook App for review before iOS App is released to public?

I've developed an iOS app which includes the Facebook SDK to post Open Graph user stories to Facebook. Everything is working fine, so I sent my iOS app yesterday to Apple for review. But my problem is the Facebook app: I have to submit the Facebook…
mahega
  • 3,231
  • 4
  • 20
  • 32
9
votes
5 answers

How to get user info from Facebook SDK in iOS?

How to get user name when user session is open.I tried the session login sample from Facebook sdk samples. if any one knows the solution please help me out. Thanks in advance. - (IBAction)buttonClickHandler:(id)sender { // get the app…
Peer Mohamed Thabib
  • 636
  • 2
  • 9
  • 29
6
votes
1 answer

Where to set the "shared via" text for a Facebook App

I have an iOS app that can create shares on Facebook. The sharing itself works fine but we don't see a text for the "shared via" line as you can see in the attached image. It just says "shared a link via .". I expect the text to be "shared a link…
Jan Deinhard
  • 19,645
  • 24
  • 81
  • 137
5
votes
1 answer

Post on Facebook page as admin iOS Facebook SDK

I need to make a post on a my own fanpage as the admin. I created this code hopping that passing the id of the page "fbPageID" would leave the post on that page, but it actually leaves the post on my profile. NSArray *publishPerms =…
5
votes
2 answers

Facebook Mobile Ad App Installs not showing up in campaign reports

I have successfully implemented the Facebook SDK and AppEvents to report installation of my Android app. I have verified that it registers the last install data in the dashboard, and I see thousands of fb_mobile_activate_app events in my App Events…
RealCasually
  • 3,593
  • 3
  • 27
  • 34
5
votes
1 answer

how to catch Failed to find provider info for com.facebook.katana.provider.PlatformProvider error

Can someone tell me where should i set a try/catch to catch this? 02-10 22:54:35.701: E/ActivityThread(787): Failed to find provider info for com.facebook.katana.provider.PlatformProvider I already know that it is caused because I have not…
UrielUVD
  • 482
  • 1
  • 9
  • 27
4
votes
1 answer

Android Invite friends to App (open play store link) using Facebook Sdk 3.1

I am trying to send invitation to facebook friends using Facebook sdk 3.1. Here is code: Bundle params = new Bundle(); params.putString("message", "Come join me in the GuessWhat!"); params.putString("to", TextUtils.join(",",…
Nouman Bhatti
  • 1,777
  • 4
  • 28
  • 55
4
votes
2 answers

Facebook SDK "Package bolts does not exist error" Android Studio

I am trying to add the Facebook login to my app using this method but am getting the following errors: Error:(21, 13) error: package bolts does not exist Error:(22, 13) error: package bolts does not exist Error:(23, 13) error: package bolts does…
Ojonugwa Jude Ochalifu
  • 26,627
  • 26
  • 120
  • 132
4
votes
1 answer

Facebook iOS SDK native login not working

I've implemented facebook sdk into my project and everything is setup exactly as shown in guide https://developers.facebook.com/docs/facebook-login/ios/v2.0, including info.plist file. FacebookAppID, FacebookDisplayName and URL types are set (see…
Majky
  • 1,943
  • 1
  • 18
  • 30
4
votes
2 answers

InternalCompilerError when I import the new Facebook 5.1 SDK into my existing project

If I import this package in a new project, I get no problems at all. But, when I try to import it into my existing project (that had the 5.0.4 version of the SDK), after the importing finished, I get the followin error message: Unhandled Exception:…
Gaston Claret
  • 1,000
  • 1
  • 7
  • 27
4
votes
0 answers

Android facebook Api Exception

I am getting facebook Api exception while logging in from my app, login is working in major of the devices while in few of them it's giving below mentioned error : Error ApiException: Error validating access token: Session does not match current…
4
votes
3 answers

Facebook Login - If user account is present (and app is not installed) login fails

I have just found this issue whilst testing my application and it is really starting to annoy me. So what the environment is like is as follows : No Facebook App installed User is logged into iOS System Account (Under settings -> Facebook) When my…
Andy
  • 479
  • 7
  • 20
4
votes
0 answers

Is it possible to share deep links from the iPhone Simulator?

Deep Links iOS allows apps to open other apps through a framework of custom URL schemes. Integrating with Facebook allows users to the navigate directly to your app from the Facebook app via these URLs, which we will refer to as "deep…
Jan Deinhard
  • 19,645
  • 24
  • 81
  • 137
1
2 3
8 9