When I run minitube from terminal I get:
No available API keys
403 "Error downloading https://www.googleapis.com/youtube/v3/search?part=snippet&type=video&maxResults=50&q=teste - server replied: Forbidden" 202
Is there a way to fix this?
When I run minitube from terminal I get:
No available API keys
403 "Error downloading https://www.googleapis.com/youtube/v3/search?part=snippet&type=video&maxResults=50&q=teste - server replied: Forbidden" 202
Is there a way to fix this?
Since version 2.4 of Minitube you need to have a personal Youtube API key :
First of all you will need to get your Youtube API key. Then you have three options to chose from to make MiniTube works again properly :
Get Youtube API Key
Connect to your Google Developer Console and create a new project.
In your project page open Enable Google APIs for use in your apps, and go to :
From what I have tried you will need a Google Account but no payment is required.
Method 1 : Use Minitube.sh install script (easiest way)
Noobslab created a installation script which does everything for you.
During the installation, you will be prompted to put your API key :
Method 2 : Use current Minitube Install
If you already have Minitube installed you can simply add your personal API Key :
Add the following line :
Note: If you have a
qtsingleapp-minitube-xxx.lockfile
in your/tmp
folder you will need to delete it.Method 3 : Compile MiniTube
Once you have your personal key you can to compile Minitube.
Install the needed libraries to build:
Clone Minitube repository :
Compile
Launch your compiled Minitube...
...or install it
Refer to the Minitube repository for more information on how to build Minitube with a personal API Key.
Ubuntu 16.04 uses Gnome Software Centre by default, we have found this to where the problem originates:
Here is how we solved it.
Step 1: Visit the website http://flavio.tordini.org/minitube and download the latest .deb file.
Step 2: Click on the Dash Button, Type "Ubuntu Software", Click on the Ubuntu Software Icon. When Ubuntu Software Centre opens, search for "gdebi" and using Ubuntu's Software Centre install the gdebi package installer.
Step 3: Go to your Download folder and Right click on the .deb file and select open with gdebi package installer and proceed with the installation.
Step 4: Check your version number by going to "Help" -> "About"
Step 5: Happy viewing
We think that the reason it doesn't come with a default API key and works out of the box is due to how it was originally packaged for the Ubuntu Software Centre. Additionally if you install the .deb package using the Ubuntu Software Centre (backend Gnome Software Centre) it will automatically default to the version that doesn't have an api key. This is why you need to use gdebi package installer for this to work.