Browse files


  • Loading branch information...
1 parent dbceadc commit 205935507b81a2e17654a0d73d30508cf5f1795e @brianantonelli committed Nov 29, 2011
Showing with 2 additions and 42 deletions.
  1. +2 −42
@@ -1,43 +1,3 @@
-PhoneGap Twitter Plugin
+This project is now deprecated since it was been officially accepted into the PhoneGap Plugins project:
-The Twitter plugin for PhoneGap allows you to take advantage of the Twitter integration that ships with iOS 5. Please note that to use the APIs you must compile the application on the iOS 5 SDK. The plugin will not cause any issues if it is run on a pre-iOS 5 OS as long as you always validate that the Twitter SDK is available (see **Twitter.isTwitterAvailable()**)
-This is licensed under MIT.
-Getting Started
-Download the latest version of PhoneGap from
-Create an iOS PhoneGap project (Android not yet supported)
-Check out the /example/www/index.html to see how it works.
-| |-ios
- `-TwitterPlugin.js
-/native/ios is the native code for the plugin on ios.
-/www/TwitterPlugin.js is the JavaScript code for the plugin
-iOS (Mac OS X)
-1. Create a basic PhoneGap iOS application. See
-2. From the **PhoneGap Facebook Connect Plugin** folder copy the contents of the **native/ios** folder into your app in Xcode (usually in the **Plugins** folder group). Make sure it is added as a "group" (yellow folder)
-3. Find the PhoneGap.plist file in the project navigator, expand the "Plugins" sub-tree, and add a new entry. For the key, add **com.phonegap.twitter**, and its value will be **TwitterPlugin**
-4. From the **PhoneGap Twitter Plugin** folder copy the contents of the **www** folder into the **www** directory in Xcode (don't forget to add script tags in your index.html to reference any .js files copied over)
-5. Click on your project's icon (the root element) in Project Navigator, select your **Target**, and the **Build Phases** tab.
-6. From the **Build Phases** tab, expand **Link Binary With Libraries**, then click on the **+** button
-7. Select **Twitter.framework** and click Add
-8. for Xcode 4, you will need to build it once, and heed the warning - this is an Xcode 4 template limitation. The warning instructions will tell you to drag copy the **www** folder into the project in Xcode (add as a **folder reference** which is a blue folder).
-9. If you wish to allow users to share URLs and/or images you need to add a whitelist wildcard since you don't know which domains they'll reference. Simply add a wildcard entry (*) to external hosts whitelist (PhoneGap.plist/ExternalHosts).
-10. Run the application in Xcode.
-If you have issues with the app crashing on iOS Simulator you may have a weak linking issue. For more information see:

0 comments on commit 2059355

Please sign in to comment.