I'm looking into making a new app which integrates heavily with Twitter, and I'm trying to find out if the Accounts and Social framework is capable of that.
It's worked in the past for basic calls, but it's not stated anywhere what its limits are - can it be used for a full-blown Twitter app?
Integrating with Twitter manually, I know involves asking the user to sign in, and means a cap of 100k tokens. Are there any caveats of using the Social framework instead?
You can use the API without users signing in to view most everything. Read the docs: https://dev.twitter.com/rest/public/search
Related
As the title suggests I want to add Social media extensions into my iOS application, I have seen multiple tutorials on how to publish to an external source e.g. Facebook, Twitter, Instagram etc... which seems easy enough.
Now my question is it possible to do the reverse and instead retrieve information from these external factors? For example if I set the application to look directly at my Facebook profile when loaded and retrieve my Facebook status's.
I've heard of the concept of a Facebook Graph API which I plan on learning of the next couple of weeks. I'm looking for any resource materials or videos which I can use to learn from. I'm currently looking through Facebook's developers options but any additional information would be great.
You're going to want to use their official API. These links are a good starting point.
Facebook SDK for iOS
Twitter SDK for iOS
Instagram support for iOS
I am trying to load some twitter feeds of a user on Swift iOS App. On twitter Documentation, I found the API is:
https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name=twitterapi&count=2
which returns:
{"errors":[{"message":"Bad Authentication data","code":215}]}
Older Rest API did not require. Newer API requires authentication.
Requires authentication? Yes
How do I get that working? Any tutorials would be even sweeter!
Before marking this question duplicate please bear in mind that I have done a good search and none of the answers answered my questions because a lot them point to older Rest APIs.
Take a look at Twitter Fabric http://dev.twitter.com/fabric which is a free SDK (compatible with Swift) that provides easy authentication via either guest or user login. Sample app written in Swift at https://github.com/twitterdev/cannonball-ios
If you would prefer to use raw REST calls against the API, follow the OAuth details in our dev documentation https://dev.twitter.com/oauth
In settings of your simulator go to accounts -> Twitter, and login there in actual twitter account. As you try to login, it doesn't know what user to use, so you need to specify it.
On a current project I would like to let a user that does NOT have a Twitter account setup login and tweet. Use case: this area of the app is being used by many different end users as part of a check-in process. It is not their personal iPad, they just use it for about 10 minutes to check-in for an event. During that check-in process I want to let them share to FB and Twitter if they choose.
I was able to accomplish the Facebook share without using the system account using Facebook's presentFeedDialogModallyWithSession API, which works great. Is there a similar API in the Twitter SDK? Is there another way I could do this that leverages the Social or Twitter framework?
Recommendations greatly appreciated.
You cannot do this with the built-in twitter SDK. You will need to use the "old" way of doing this, which is via oAuth or xAuth. A good framework for this can be found on github called FHSTwitterEngine. You will need to make your own UI for what you do with twitter itself, but it handles the login/authentication for you as much as possible.
Also this page may be useful to find other 3rd party frameworks (that is updated by twitter themselves) if you need to go outside of their regular SDK and the above does not get you what you want.
Is there an open source or commercial library that makes authentication and publishing to multiple social networks easier? We are developing an iPhone app and it will be used by Facebook, Twitter and Linkedin users and in the future Google will be added to the list of providers so we want to save ourselves from developing for each of these networks.
I think ShareKit is what you're looking for:
http://getsharekit.com/
The website doesn't mention any LinkedIn support yet, but it looks like someone has submitted a pull request here:
https://github.com/ideashower/ShareKit/pull/271
I am looking to create a basic site which allows users to login (either through email or facebook authentication) and post their photos for other users of the site to comment on. Much like with like Facebook, I wanted posting, deletion and viewing photos/comments to be possible through an iOS app and through the site itself.
I have been carrying out a bit of research myself, and I can there being the following options:
Create a site in Django, and use the API framework Tastypie to allow the user to use the get/post/delete commands from an iOS app
Create a site fully in Django, and make this compatible with iOS devices using PhoneGap
Do you have advice on what approach to take - and whether there are alternatives?
It all depends. Do you need hardware functionality that only ios can provide?? If not it would probably be easier to create a web api and build a mobile optimized version of the site. This would let you build your business logic quickly in python. you could them build the client using jquery. This would provide the advantage of being optimized for any mobile device.