Questions tagged [acaccount]

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

Developer.apple.com entry.

78 questions
1
vote
0 answers

Set a username and password for TWRequest (with ACAccount) in order to see specific user's home timline

I am trying to access a specific user's home timeline, so that I can see the tweets that the user would see on his timeline when he logs into twitter. I have the username and password, but can not find how to link this up to the TWRequest. I have…
Josh Sklar
  • 461
  • 1
  • 3
  • 14
0
votes
0 answers

How i can use Twitter Session For SLRequest.account as ACAccount

I am using SLRequest for post video on twitter.The problem is that when i add my account to twitter App from setting then my code works after fetching account using ACAccountStore(). I am using twitter kit on my app, and also i have user session on…
ZAFAR007
  • 3,049
  • 1
  • 34
  • 45
0
votes
1 answer

error in ACAccount.h in Simulator-iOS 7.1

I'm trying to build and test an app with the xcode simulator, but during the building I get errors in ACAccount.h, ACAccountType.h, etc. The "strange thing" (at least for me as i'm completely new in using xcode) is that if I click on the .h files…
Lucia Belardinelli
  • 727
  • 1
  • 11
  • 20
0
votes
0 answers

Why does it take so long to load Twitter account from ACAccounts?

Here is the code I am using to access the twitter account stored on the device; it tends to take around 30 seconds to load on my device (it is much faster on the simulator) ACAccountStore *account = [[ACAccountStore alloc] init]; ACAccountType…
user3491833
  • 61
  • 1
  • 3
0
votes
1 answer

Predefine a specific twitter feed to display

In the code below, a tableview displays the twitter feed of the user of the phone. All I want to do is display the feed of a user that I predefine in the code. I looked online but can't find any tutorials on this. I would like to edit this code…
SuperAdmin
  • 538
  • 2
  • 7
  • 20
0
votes
1 answer

invalid_token when trying to access Facebook through ACAccount and SLRequest

I'm trying to read messages from a user's facebook inbox, but I'm hitting an error that refuses me access. This is my code: ACAccountStore *accountStore = [[ACAccountStore alloc] init]; ACAccountType *fbAccountType = [accountStore…
Andrew
  • 7,693
  • 11
  • 43
  • 81
0
votes
1 answer

iOS7, Sign in and post to twitter without Twitter App/ Add new ACAccount

So I'm trying to integrate twitter with the app I'm working on. The flow I'm looking for is one in which the user is prompted to enter his twitter username and password just once, and then anytime the user wants to post to twitter he can do so by…
dMurdZ
  • 979
  • 7
  • 18
0
votes
1 answer

Users with non-authorized Twitter accounts having trouble with my app

When users upgraded to iOS 7, they had to re-authorize their Twitter accounts. Currently, I have a problem which seems to arise from when a user has multiple accounts, one or more of which is not verified. When a user has multiple accounts, and one…
Andrew
  • 7,693
  • 11
  • 43
  • 81
0
votes
1 answer

iOS Facebook permissions reset

I have a use case that goes as follows ... 1. user hits facebook share button 2. user responds that they do not want to share their information to prompt 3. user hits facebook share button again 4. desired result - user is reprompted to give…
Alicia Cano
  • 200
  • 6
0
votes
1 answer

ACAccountStore - trying to follow on Twitter - 410 error

Here is my code for "follow on twitter" (iOS6+): -(IBAction)twitterFollow { ACAccountStore *accountStore = [[ACAccountStore alloc] init]; ACAccountType *accountType = [accountStore…
soleil
  • 12,133
  • 33
  • 112
  • 183
0
votes
1 answer

Sending Tweet with no account setted in "Iphone Settings"

I'm using this code to send a tweet from my app to user twitter account. I have no problem until at least one account is selected in the twitter device settings. If i delete all accounts from settings my tweet fail. ACAccountStore…
cri1682
  • 442
  • 6
  • 17
0
votes
1 answer

Can I serialize an ACAccount object holding an authorized twitter account?

I have implemented the built in twitter API, and everything is working great, however I am trying to decide how best to persist a twitter account between sessions when a user has multiple twitter accounts set up. If I only receive a single ACAccount…
Karl White
  • 497
  • 1
  • 5
  • 13
0
votes
2 answers

Share an image on Facebook using App ID

I want to share my image on the facebook using my AppID. So I can see it on facebook as via App. Its working fine till iOS 5. But not in iOS 6. If I'm using SLComposeViewController, so I can share image but is displays 'via iOS' instead of 'via…
Manann Sseth
  • 2,745
  • 2
  • 30
  • 50
0
votes
1 answer

How to access the user's facebook account? OSX Mountain Lion

I'm using the code from WWDC to access the user's facebook account: self.accountStore = [[ACAccountStore alloc] init]; ACAccountType *facebookAccountType = [self.accountStore …
Pedro Vieira
  • 3,330
  • 3
  • 41
  • 76
0
votes
1 answer

Error with ACAccount and TWRequest

This is my code TWRequest *twRequest = [[TWRequest alloc] initWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@", kTwitterURLBase, kTwitterMethodHelpConfiguration]] parameters:nil …
emenegro
  • 6,901
  • 10
  • 45
  • 68