Questions tagged [acaccount]

An ACAccount object encapsulates information about a user account stored in the Accounts database.

Developer.apple.com entry.

78 questions
2
votes
0 answers

Handling SLRequest Error 2500 Facebook

There essentially two main things that can cause issues when using SLRequest for making Facebook posts: 1. The user removes permissions for the app on Facebook. This causes an error 2500 that means you have to 're-install' the app and get…
user717452
  • 33
  • 14
  • 73
  • 149
2
votes
1 answer

How do I reset Twitter access permission on iPhone Simulator

The title is the question. NOTE: This question is limited to the iOS Simulator - things work better on the device. I'm building a client that accesses Twitter via a Twitter account on the iPhone. The first thing it does is ask for permission to…
Cubs Fan Ron
  • 687
  • 6
  • 17
2
votes
2 answers

Using SLRequest in iOS 6 with Facebook

I'm currently trying to use an SLRequest to post a status on to facebook this is the code i have: ACAccountStore *accountStore = [[ACAccountStore alloc] init]; ACAccountType *accountType = [accountStore…
Alex Trott
  • 4,576
  • 4
  • 23
  • 30
2
votes
1 answer

Why I get this error when saving Twitter ACAccount?

I'm trying to save a Twitter account into the ACAccountStore. I'm authenticating the user with MPOauth (this works perfectly, I can authenticate and post a message) and when I receive the access token and the access token secret I proceed to save…
emenegro
  • 6,901
  • 10
  • 45
  • 68
2
votes
0 answers

Unexpected error on ACDOAuthSigner connection

Has anyone gotten this exception before? If so, what does it mean? I get this occasionally when trying to save a new account to an ACAccountStore. So far I haven't been able to find any information as to what the problem is. 'Unexpected error on…
Brandon Schlenker
  • 5,078
  • 1
  • 36
  • 58
1
vote
1 answer

Updating Twitter profile picture with iOS SLRequest results in error 215 bad authentication data

I am trying to post new profile picture according to Twitter's documentation at https://dev.twitter.com/rest/reference/post/account/update_profile_image and here is my code: NSData *jpeg = UIImageJPEGRepresentation(img, 0.9); NSString *base64 =…
Can Poyrazoğlu
  • 33,241
  • 48
  • 191
  • 389
1
vote
0 answers

Create FBSDKAccessToken from ACAccount

I'm using v4.8 of the Facebook iOS SDK and developing for iOS 8+. I'm also using v1.11.0 of the Parse framework I'm wanting to get access to Facebook via ACAccount & ACAccountStore classes. The login works perfectly, but after I get access, I need…
Cody Winton
  • 2,989
  • 5
  • 25
  • 48
1
vote
1 answer

Get ACAccount after login with Twitter SDK from Fabric Swift

I need a way to get ACAccount which is created, or taken by Twitter SDK provided by Fabric while login with: Twitter.sharedInstance().logInWithCompletion { (session: TWTRSession?, error: NSError?) -> Void in if let userSession = session { } …
Bonnke
  • 896
  • 1
  • 12
  • 24
1
vote
1 answer

How does one access the _properties Dictionary object of a Swift 1.2 ACAccount object?

Adding a breakpoint in XCode has shown me that a Swift 1.2 ACAccount object has a _properties object, which in turn holds the key/value pair of @user_id: 0123456789. I need to access this numerical value. I have read the docs, Googled, SO'ed and…
Joseph Beuys' Mum
  • 2,395
  • 2
  • 24
  • 50
1
vote
1 answer

Accessing Facebook messages (or notifications) on iOS

I wish to access the user's unread Facebook messages in my app. I'm using the Accounts framework. Calling accountStore.requestAccessToAccountsWithType:options: requires the permissions be given as part of the options. I want to access…
Andrew
  • 7,693
  • 11
  • 43
  • 81
1
vote
0 answers

iOS ACAccountStore Save Twitter fails with Error

I am trying to populate and save an ACAccount to ACAccountstore, as follows: ACAccount *account = [[ACAccount alloc]initWithAccountType:twitterAccountType]; account.username = @"hansaaaha"; …
ChrisC
  • 892
  • 2
  • 12
  • 33
1
vote
1 answer

OSX ACAccountStore requestAccessToAccountsWithType... returning 'granted=No' and error=nil after denying permissions

I am trying to request access to my facebook account. The first time I ran this it went well and I saw the popup requesting permissions. The popup asked me to allow or deny. I chose to deny because I wanted to test that use case. Now I cannot figure…
Dillon Courts
  • 1,151
  • 1
  • 9
  • 11
1
vote
0 answers

How can I tell if the ACAccount object has a password?

There's plenty of code out there that lets you get a user's twitter account. Here's a paste from some code from our app: ACAccountStore *accountStore = [ACAccountStore new]; ACAccountType *socialMediaAccountType = [accountStore…
Paul Cezanne
  • 8,629
  • 7
  • 59
  • 90
1
vote
0 answers

How to implement favorite tweet function on iOS 7

I'm making a Twitter application on iOS 7 using STTwitter . I want to add function of favorite in my application. To getting user stream I used STTwitter, then I want to favorite tweet. But STTwitter doesn't have such function, so I decided to use…
keisei_1092
  • 391
  • 2
  • 14
1
vote
1 answer

ACAccountStore requestAccessToAccountsWithType:options:completion:accountStoreHandler returns granted = NO immediately

I am trying to integrate Twitter into my app using iOS's Accounts framework. I call: ACAccountStore *accountStore = [[ACAccountStore alloc] init]; ACAccountType *twitter = [accountStore…
Can Poyrazoğlu
  • 33,241
  • 48
  • 191
  • 389