Note that there are some explanatory texts on larger screens.

plurals
  1. POProper way how to use hardcoded twitter account in iOS
    primarykey
    data
    text
    <p>Short version of the question is this: is there any way on iOS (using iOS5 twitter framework or some 3rd party library) to do what is described on this page for other platforms: <a href="https://dev.twitter.com/docs/auth/oauth/single-user-with-examples" rel="nofollow noreferrer">https://dev.twitter.com/docs/auth/oauth/single-user-with-examples</a></p> <p>For example in c# one can use the following using 3rd party library:</p> <pre><code>OAuthTokens tokens = new OAuthTokens(); tokens.ConsumerKey = "Consumer Key"; tokens.ConsumerSecret = "Consumer Secret"; tokens.AccessToken = "Access Key"; tokens.AccessTokenSecret = "Access Secret"; TwitterStatusCollection homeTimeline = TwitterStatus.GetHomeTimeline(tokens); </code></pre> <p>which is basically what I need.</p> <p>Here is some additional info on what I am trying to do in case it is relevant:</p> <p>I would like to create application, which access one certain twitter account and present some of these tweets. I have of course access to this account (read-only access is therefore fine).<br> So far, I have also created the twitter app using <a href="https://dev.twitter.com/apps" rel="nofollow noreferrer">https://dev.twitter.com/apps</a> site. There I have generated the auth token and secret and get the consumer key and secret. Now I would like to use it in the app (I hope all of these are permanent unless I delete them so I can hard code them in the app?).</p> <p>I came across this SO question: <a href="https://stackoverflow.com/questions/8224835/error-creating-twitter-acaccount-on-ios5-nsurlerrordomain-error-1012">Error creating twitter ACAccount on iOS5: NSURLErrorDomain error -1012</a> , where the guy wanted to do something similar probably and was recommended to use this: <a href="https://dev.twitter.com/docs/ios/migrating-tokens-core-accounts" rel="nofollow noreferrer">https://dev.twitter.com/docs/ios/migrating-tokens-core-accounts</a> . For me it did not work and I think it is not the proper way of doing what I need anyway.</p> <p>I become to feel more and more that I am trying to do something easy in conceptually bad way :)</p> <p>Thanks.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload