Hi Pam,
Like you I've only recently started using the Twitter API, but it
seems pretty straight-forward, and it can be run from a local server.
In my case I'm using the OAuth authentication to send tweets from a
website.
If you are having issues turning on the PHP errors for the entire
server, you could just embed the following in your script:
?php
ini_set('display_errors', 1);
error_reporting(E_ALL);
?
This will override the default settings for specific script being
tested, so won't affect the rest of the site.
I hope this helps.
Regards,
Ross t
On 4 October 2010 08:42, Knutsford Software
i...@knutsford-software.co.uk wrote:
Thanks I will try changing $twitterObj = new EpiTwitter($consumer_key,
$consumer_secret);
I will also try and turn php errors on. I tried last week but it didn't do
anything
Pam
- Original Message - From: Scott Wilcox sc...@dor.ky
To: twitter-development-talk@googlegroups.com
Sent: Sunday, October 03, 2010 9:59 PM
Subject: Re: [twitter-dev] Adding twitter message
er, off.
Also:
$twitterObj = new EpiTwitter($consumer_key, $consumer_secret);
You are only providing consumer keys, you need to provider user keys too
(probably the ones under 'My Access Token').
Scott.
On 3 Oct 2010, at 08:01, plw wrote:
At the top of my page I have
include 'lib/EpiCurl.php';
include 'lib/EpiOAuth.php';
include 'lib/EpiTwitter.php';
include 'lib/secret.php';
further down I have
$twitter_message = Offers update - . date(g:i a:) .
http://www.pub-rooms.co.uk/ask-rooms.php?bookrooms=; . $intid . -
. $ItemName . . $CTown;
$twitterObj = new EpiTwitter($consumer_key, $consumer_secret);
$twitterObj-setToken($oauth_token, $oauth_token_secret);
$update_status = $twitterObj-post_statusesUpdate(array('status' =
$twitter_message));
My problem that it doesn't send anything to twitter and it doesn't
like
$tmp=$update_status-response;
php errors are turned off so I don't know why it doesn't like
$tmp=$update_status-response;
What am I doing wrong. At the moment I am totaly stuck. Am I right in
thinking that you can't send a message directly to twiiter anymore
from the admin of a website now that you have to use OAUTH?
--
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker:
http://code.google.com/p/twitter-api/issues/list
Change your membership to this group:
http://groups.google.com/group/twitter-development-talk
--
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker:
http://code.google.com/p/twitter-api/issues/list
Change your membership to this group:
http://groups.google.com/group/twitter-development-talk
--
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group:
http://groups.google.com/group/twitter-development-talk