By diegodacal
Hi, I’m having issues with my Twitter application on Digital Ocean and I found out (already tried on my local server XAMPP) that I need to install the Root CA Certificate (https://dev.twitter.com/discussions/533).
I managed to easily do it on my local server but I can’t find out how to do it on my droplet here (I use LAMP on Ubuntu 12.04).
Any suggestions?
Thanks!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Ugh, I don’t get it. It’s not working. On my local server its working like a charm, but on my droplet no. Do you think its related to something on curl?
<br>My code is this one, it returns nothing on $response:
<br>
<br>require_once(‘lib/TwitterAPIExchange.php’);
<br>include “config.php”;
<br>
<br>$url = ‘https://api.twitter.com/1.1/search/tweets.json’;
<br>$getfield = ‘?q=porra&result_type=recent&count=100’;
<br>$requestMethod = ‘GET’;
<br>$twitter = new TwitterAPIExchange($settings);
<br>
<br>$response = $twitter->setGetfield($getfield)
<br> ->buildOauth($url, $requestMethod)
<br> ->performRequest();
<br>
<br>
@diego: What is the actual error that you’re seeing? Why do you think the problem is with the certificate?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.