简体   繁体   中英

Twitter and Facebook for Socialize

I'm trying to get Twitter and Facebook to work on Socialize for my iOS app. I've followed the steps on Socialize's website up until the "Linking to existing credentials" area (Twitter: http://socialize.github.io/socialize-sdk-ios/twitter.html , Facebook: http://socialize.github.io/socialize-sdk-ios/facebook.html ). When I run the app, it successfully builds but Facebook and Twitter still do not show up as options for sharing. I have a feeling there's some small part I'm missing but can't figure it out. Does anyone know if maybe there is something that Socialize does not mention in the guide that may need to be done or some other possible answer?

Thanks, David

you have to put the following in the app delegate, or another place, follow the documentation:

 [SZFacebookUtils setAppId:@"YOUR FB APP ID"]; [SZTwitterUtils setConsumerKey:@"YOUR_TWITTER_CONSUMER_KEY" consumerSecret:@"YOUR_TWITTER_CONSUMER_SECRET"]; 

http://socialize.github.io/socialize-sdk-ios/facebook.html

http://socialize.github.io/socialize-sdk-ios/twitter.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM