Socket
Book a DemoInstallSign in
Socket

tweet-composer

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tweet-composer

Cordova plugin for create tweet message.

0.0.3
latest
Source
npmnpm
Version published
Weekly downloads
3
200%
Maintainers
1
Weekly downloads
 
Created
Source

TweetComposer

##Compatible iOS Version <= 7.0
Android Version <= 4.0

##How to install.

  • Get fabric_key, twitter_key, and twitter_secret_key.
  • Use this code in command line.
    cordova plugin add tweet-composer —variable FABRIC_KEY= <your fabric key>
  • Open config.xml (in your project's root) and add these two lines before the closing </widget> tag
    <preference name="TwitterConsumerKey" value="<twitter_key>" />
    <preference name="TwitterConsumerSecret" value="<twitter_secret_key>" />
    Done!

##How to use.

in *.js
var success = function() { alert("Success"); };
var error = function(message) { alert("Oopsie! " + message); };
var tweet = cordova.require("com.attendee.tweet.tweetComposer");
tweet.tweetMessage(success,error,'Android101');

Keywords

twitter

FAQs

Package last updated on 02 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.