Discussion Forums  >  Self Hosted Control Panels

Replies: 9    Views: 153

mishgolf
Aspiring developer
Profile
Posts: 98
Reg: Nov 02, 2012
Sunshine Coast,...
980
02/19/14 02:03 PM (11 years ago)

Download Plugins from your buzztouch.com Control Panel - Add Plugins Feature

hi all, i am wanting to upload all the plugins from buzztouch to my self hosted server, but when i go to do it at Add Plugins >Download Plugins from your buzztouch.com Control Panel i get this error: Error! buzztouch.com API return invalid JSON Not sure how to fix this. I dont really feel like uploading all the plugins individually? thanks hamish
 
@rob
Code is Art
Profile
Posts: 115
Reg: Dec 10, 2013
Alabama
8,800
like
02/19/14 02:45 PM (11 years ago)
You need to open your config.php file of your self hosted BT Server (BT-server/config.php) and verify (or add it if missing) that your API key there matches the one under your BT profile. You can look at (or generate) your BT API key by going to your Account (top right on this screen) and then click on the "Self Hosted Server" link on the left
 
mishgolf
Aspiring developer
Profile
Posts: 98
Reg: Nov 02, 2012
Sunshine Coast,...
980
like
02/23/14 09:13 PM (11 years ago)
hey there @rob, im really struggling with matching this up. when i go to click validate in my servers admin panel i get: Failed! The key / secret / URL you entered could not be validated. i feel like i have matched up what i need to? how can i get past this?
 
mishgolf
Aspiring developer
Profile
Posts: 98
Reg: Nov 02, 2012
Sunshine Coast,...
980
like
02/23/14 09:16 PM (11 years ago)
what does the api secret mean? because it is blank in my BT account settings.
 
@rob
Code is Art
Profile
Posts: 115
Reg: Dec 10, 2013
Alabama
8,800
like
02/23/14 09:50 PM (11 years ago)
Thats just a password that you create when you create your key here on the website
 
@rob
Code is Art
Profile
Posts: 115
Reg: Dec 10, 2013
Alabama
8,800
like
02/23/14 09:55 PM (11 years ago)
If you go to your API screen here on the Buzztouch site, click on "modify" and you can add a API secret"
 
mishgolf
Aspiring developer
Profile
Posts: 98
Reg: Nov 02, 2012
Sunshine Coast,...
980
like
02/23/14 11:56 PM (11 years ago)
ok thanks. so do i have to add it to config.php file?
 
@rob
Code is Art
Profile
Posts: 115
Reg: Dec 10, 2013
Alabama
8,800
like
02/24/14 10:22 AM (11 years ago)
yes, your config.php info must match the settings here on the Buzztouch site
 
mishgolf
Aspiring developer
Profile
Posts: 98
Reg: Nov 02, 2012
Sunshine Coast,...
980
like
02/25/14 09:07 PM (11 years ago)
hey rob, im looking at this in the config.php file /* buzztouch.com API URL, API Key, API Secret. Log in at buzztouch.com then see Account > Self Hosted Servers */ define("APP_BT_SERVER_API_URL", "YOUR_BUZZTOUCH_API_KEY_URL"); define("APP_BT_SERVER_API_KEY", "YOUR_BUZZTOUCH_API_KEY"); define("APP_BT_SERVER_API_KEY_SECRET", "YOUR_BUZZTOUCH_API_SECRET"); am i supposed to change this here? no having much success?
 
@rob
Code is Art
Profile
Posts: 115
Reg: Dec 10, 2013
Alabama
8,800
like
02/26/14 09:27 AM (11 years ago)
Correct, when you get done it should look like this: define("APP_BT_SERVER_API_URL", "https://www.buzztouch.com/api"); define("APP_BT_SERVER_API_KEY", "your API key goes here"); define("APP_BT_SERVER_API_KEY_SECRET", "the API password you create goes here");
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.