ocTweetThis 0.0.1
dotnet add package ocTweetThis --version 0.0.1
NuGet\Install-Package ocTweetThis -Version 0.0.1
<PackageReference Include="ocTweetThis" Version="0.0.1" />
paket add ocTweetThis --version 0.0.1
#r "nuget: ocTweetThis, 0.0.1"
// Install ocTweetThis as a Cake Addin #addin nuget:?package=ocTweetThis&version=0.0.1 // Install ocTweetThis as a Cake Tool #tool nuget:?package=ocTweetThis&version=0.0.1
<img src="tweet.png" alt="Tweet Icon" width="50"/> 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.
//TODO Add image of backoffice
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.
<a href="https://www.flaticon.com/free-icons/tweet" title="tweet icons">Tweet icons created by Freepik - Flaticon</a>
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- TweetinviAPI (>= 5.0.4)
- Umbraco.Cms.Web.BackOffice (>= 9.3.0)
- Umbraco.Cms.Web.Website (>= 9.3.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.0.1 | 277 | 3/1/2022 |