Twitter adheres to the OAuth1.0a
protocol (Facebook, Google and Live implement the OAuth 2.0
This is why I feel that the best approach in your case might be to reconsider using the SocialSharing-PhoneGap-Plugin
. However, instead of using the general message sending methods, you can define your app to provide your users with two separate buttons - one to post in facebook and one in twitter. For that purpose you can use the SocialSharing plug-in methods for posting directly into the apps: shareViaTwitter()
. Both methods will open the device built-in dialogs for sharing through facebook or twitter accordingly and in case the user is not logged, he/she will be prompted to do so. Please give this approach a try and let us know if it helps.
Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!