I’m developing a Twitter Feed View for an iOS App. I found TWRequest and it works exactly like that which i was looking for. But: i get an Notice: “TWRequest is deprecated: first deprecated in iOS 6.0”. What should I use instead?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
On iOS 6 you should use the
Social.framework. This has a class namedSLRequest.You use it almost in the same way as the deprecated
TWRequest, but you need to specify that it’s a twitter request as opposed to a facebook request.The entire
Twitter.frameworkbecame deprecated as of iOS 6, since Apple added Facebook and Weibo (a Chinese social network) to iOS 6, they grouped all social classes into the newSocial.framework.Note you must specify the service type for Twitter/Facebook, Example:
Be sure to check out the documentation.