Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cordova-plugin-twitter-composer

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-twitter-composer

cordova-plugin-twitter-composer

  • 0.0.4
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

cordova-plugin-twitter-composer

Screen Shot

2018-11-22 00 49 56

Instalation

$ cordova plugin add cordova-plugin-twitter-composer

or

add below code on config.xml

<plugin name="cordova-plugin-twitter-composer" spec="0.0.1">
    <variable name="TWITTERCONSUMERKEY" value="xxxx" />
    <variable name="TWITTERCONSUMERSECRET" value="xxxx" />
</plugin>

Cocoapod

this plugin use cocoapod. please install cocoapods

$ gem install cocoapods
$ pod setup

Example

let text = 'This is a cat';
let imageURL = 'http://img.yaplog.jp/img/15/pc/k/u/r/kuro-memo/1/1357.jpg';


TWComposer.compse(text, imageURL).then(res => {
  // success or canceling tweet
  res.status // ['success', 'cancel']

  // you can setting the action after tweeting
}).catch(error => {
  // faild
  res.status // ['failed']
});

FAQs

Package last updated on 22 Nov 2018

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc