"twrequest is deprecated in ios 6.0 - what can i use instead?" Code Answer


on ios 6 you should use the social.framework. this has a class named slrequest.

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.framework became 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 new social.framework.

note you must specify the service type for twitter/facebook, example:

slrequest *arequest  = [slrequest requestforservicetype:slservicetypetwitter

be sure to check out the documentation.

By Wobbert on March 20 2022

Answers related to “twrequest is deprecated in ios 6.0 - what can i use instead?”

Only authorized users can answer the Search term. Please sign in first, or register a free account.