GithubHelp home page GithubHelp logo

owainwilliams / octweetthis Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 2.0 6.8 MB

Tweet This Umbraco Content App Package

License: MIT License

C# 62.63% JavaScript 23.54% HTML 10.30% CSS 3.53%
umbraco-v9

octweetthis's Introduction

Tweet Icon Tweet This

What is this?

Tweet This is an Umbraco Content App. It sits in the backoffice of Umbraco and allows a content editor or any backoffice user of Umbraco to create a tweet for the node and then allows you to tweet to a linked account. The tweet will then be published on Twitter with a link back to the webpage.

There is also a history of all tweets created and a link to that tweet from the backoffice.

Tweet Icon

Install

Install via NuGet: dotnet add package ocTweetThis --version 0.0.1

Nuget Downloads

Setup

You need to get a Twitter API key from - https://developer.twitter.com/en/portal/dashboard

Once you have the details for your API, you need to update the appsettings.json file in your Umbraco project

"ocTweetThis": {
    "ConsumerKey": "twitter_consumer_key",
    "ConsumerSecret": "twitter_consumer_secret",
    "AccessToken": "twitter_access_token",
    "AccessSecret": "twitter_access_secret",
  }

Test mode

If you want to test Tweet This without an API Key from Twitter you can use Test Mode. Copy and Paste the snippet below in to the `appsettings.json

    "ConsumerKey": "twitter_consumer_key",
    "ConsumerSecret": "twitter_consumer_secret",
    "AccessToken": "twitter_access_token",
    "AccessSecret": "twitter_access_secret",
    "EnableLiveTweeting": "False",
    "EnableTestMode":  "True"

Just add the two optional values to the appsettings.json file - "EnableLiveTweeting": "False" and "EnableTestMode": "True". This will allow you to see the functionality of the package, minus it actually tweeting out to your account.

Tweet icons created by Freepik - Flaticon

octweetthis's People

Contributors

owainwilliams avatar prjseal avatar

Stargazers

 avatar

Watchers

 avatar  avatar

octweetthis's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.