Hi Anoopkp,
You'll have more luck finding help for this problem if you also let everyone
know which specific PHP library you're using.
Taylor
On Tue, Nov 16, 2010 at 12:27 AM, Anoopkp wrote:
> Hello Sir,
>
> My Requirement:
>
> I am using PHP , From a php page i have to update the STATUS or Po
With TwitterOAuth you have to maintain your own sessions. When you get a
users access token save that into $_SESSION or save something like
$_SESSION['twitter_users_auth']
= TRUE. Check if that is set and if it is not you know the user is not
currently logged into your site with Twitter.
Abraham
-
"Twitter or the user own the copyrights. Probably both. I meant it has
been made public
information, thereby granting some rights to those it was made public
to."
This is a good point, makes one think: "What exactly are the rights
someone
is implicitly giving up just by posting it in a public foru
Problem solved! I have synchronized my server time to NTM using WHM &
it worked! Thanks all for your help.
On Nov 20, 10:26 am, computerzworld wrote:
> @ Matt Harris
> I checked the header from twitter & my server's
> header & I found difference of 1 hour & I have set the
Your URL:
http://stream.twitter.com/1/statuses/filter.jsonlocations=-122.75,36.8,-121.75,37.8
Did you add a ? after the word json and before locations...
http://stream.twitter.com/1/statuses/filter.json?locations=-122.75,36.8,-121.75,37.8,-74,40,-73,41
When I input this url in my browser it star
@ Matt Harris
I checked the header from twitter & my server's
header & I found difference of 1 hour & I have set the time using
date_default_timezone_set to GMT using PHP. But still its giving the
same error. What should be the problem behind it? Thanks.
On Nov 19, 11:55 pm,
"Do you look for online examples, or is there a way to "comprehend"
how to
use which class and method?"
Going through every class and method -> time consuming, tedious, API
specs change all the time, probably overwhelming because there's a lot
of methods and you will not know how it all fits toget
I need a small help to get the count of tweets for a given
location(lat,log, radius) within a specific hour range of day using
twitter search API or stream API.
I realized that search API doesn't support to get *all* the tweets for
a given location(*all* means at least 99% accurate result). It lim
Is it possible to check to see if a user is logged in to Twitter and
has authorized the application without having any redirects?
For first time login, I have this basic code:
getRequestToken('xxx');
// Saving them into the session
$_SESSION['twitter_token'] = $request_token['oauth_token'];
$_SES
Use ?status= parameter and append the content as well as the url.
https://twitter.com/?status=Check out this SlideShare presentation :
Symmetry http://slidesha.re/cVGjq9
This is some random slideshare, not to be confused with twitter api.
~~~Mohan Arun L
--
Twitter developer documentation and
The date format is usually:
Ddd Mmm dd hh:mm:ss +
eg:
Tue Nov 16 14:40:25 + 2010
What platform are you coding for? In .Net you can use
Convert.ToDateTime on this.
Alternatively, you can use this:
DateTime.Parse(string.Format("{0}-{1}-{2} {3}",
dateTime.Substring(8
Hello Sir,
My Requirement:
I am using PHP , From a php page i have to update the STATUS or Post a
Tweet in twitter. I have downloaded php library , i created an
application in twitter to get secret code etc...
I have configured the file according to the application details. But i
am getting an e
This feature doesn't exist for the Tweet Button yet. It has been requested
and is something on our enhancements to consider list:
http://code.google.com/p/twitter-api/issues/detail?id=1835
Should we add this feature we will post a message to our announcements list
( http://groups.google.com/gr
Hey Chrys,
Agreed. The authentication header doesn't have to be in order but as said
previously, it helps with debugging.
It is really strange that the response body is empty. It maybe easier if you
email me the full request headers, with response headers and content so I
can debug further. For s
For the tweet button... is there a way to capture when the user either
clicked the button or finished tweeting? That way I could enable
something hidden on the page like a coupon?
--
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.
Hi Ben,
Can you tell us a bit more about how you were using user streams?
Are you opening up multiple simultaneous connections to User Streams from
the same IP and/or same user account? If so, how many? What client library
are you using? Are you doing a lot of disconnecting and reconnecting
in su
Also, the example here shows that the Auth header and the base string
aren't in the same order:
http://dev.twitter.com/pages/xauth
On Nov 19, 11:04 am, Matt Harris wrote:
> Hey Chrys,
>
> The order of the parameters in the base string matter and they should be in
> lexicollexicographical order.
Yeah, I've done that. Authentication credentials meaning my oAuth
credentials, or xAuth credentials?
On Nov 19, 11:41 am, Bess wrote:
> Twitter 401 error is related to Authentication
> 401 Unauthorized: Authentication credentials were missing or
> incorrect.
>
> Another debugging is to print out
Hey Matt,
I am using Loren Brichter's OAuthCore library to create the
Authorization header... so I imagine he did it correctly.
The body content of the 401 is empty. Content-Length: 0
On Nov 19, 11:04 am, Matt Harris wrote:
> Hey Chrys,
>
> The order of the parameters in the base string matter
Twitter 401 error is related to Authentication
401 Unauthorized: Authentication credentials were missing or
incorrect.
Another debugging is to print out error type error message from iPhone
console
On Nov 19, 11:04 am, Matt Harris wrote:
> Hey Chrys,
>
> The order of the parameters in the base s
Hey Chrys,
The order of the parameters in the base string matter and they should be in
lexicollexicographical order. For ease of debugging and to remove any
ambiguity it would be better to have the authorization header use the same
order too.
Can you tell me what the body content of the 401 error
Hi, we're working on a Twitter client, using user streams API. Since
yesterday I found out that for certain accounts, whenever we try to
connect using user streams, we get the following error: "Easy there,
Turbo. Too many requests recently. Enhance your calm.". And ever since
this happened, the acc
I have an example of how to do this in my PHP library. You can find the
example here:
https://github.com/themattharris/tmhOAuth/blob/master/examples/images.php
The documentation for update_profile_background image is here:
http://dev.twitter.com/doc/post/account/update_profile_background_imag
In addition, the server time is returned in the HEAD of every response from
the Twitter API. If the first request fails you can inspect the time
returned in the HEAD and calculate the difference between it and your local
time. You can then add/subtract that difference to the timestamp you use for
O
The server administrators can and should sync server clocks
automatically to the world time clocks using Network Time Protocol
(NTP). If your "IT department" isn't doing this, find out why not.
Most likely they don't know it's possible. It's pretty easy on Linux
and Windows, but you do need
Hi,
I was trying to get the number of retweets (reading an user timeline),
and I realized that if in the query I request the entities it returns
null, whuile if not, it return the right number..
Any workaround for this taking into account that I need the entities?
check:
http://api.twitter.com/
These attributes are HTML5 attributes, not XHTML attributes.
Tom
On 11/19/10 7:17 AM, BG wrote:
> Hello,
>
> I hope this is the right place to post this but I have found an issue
> when using the Tweet button on my website. I use the custom version.
>
> When I run it through the W3C Validator
google "twitteroauth php abraham" download, run test. boom.
Best,
--
Edward H. Hotchkiss
http://www.edwardhotchkiss.com/
http://www.twitter.com/edwardhotchkiss/
--
On Nov 19, 2010, at 3:17 AM, Michele wrote:
> Hi
>
> I am a young Swiss, that tries to learn programmin
I ran into this problem and was able to solve it by setting the PHP's
precision setting to 20. This keeps PHP from displaying floats as
exponents.
ini_set('precision', 20);
On Nov 6, 9:02 am, CWorster wrote:
> If you have a sufficient PHP-Version
> (>=5.3http://www.php.net/manual/en/function
Hi,
I was wondering about what happens to the developers/companies who are
at 'restricted track' or 'partner track' levels for streaming API access?
Also, If a developer wants to have his applications Streaming api
access-roles elevated, who does he contact - Twitter or Gnip? And finally,
for the
Hi,
I have one query.
I am creative my own twitter button which will open through javascript
popup, with that popup I also want to show in the that popup content
which we place in (data-counturl="Content come here" how can be it is
possible?
my script is like this
")
function myPopup1() {
Hi
I am a young Swiss, that tries to learn programming. I have a basic
question: How do you proceed, when you have to "understand" an API? Do
you look for online examples, or is there a way to "comprehend" how to
use which class and method?
Thx!
--
Twitter developer documentation and resources:
Hello,
I hope this is the right place to post this but I have found an issue
when using the Tweet button on my website. I use the custom version.
When I run it through the W3C Validator I get these errors and I have
tried Doctype variations but they all don't validate.
there is no attribute "dat
+1 for bumping the version number and maintaining backwards
compatibility.
On Oct 20, 2:23 pm, Josh Roesslein wrote:
> Isn't the point of having versioned API's so changes can be rolled out w/o
> breaking a much of applications at once?
> Why not increment to version 2 and replace all ID's as str
Thanks thats awsome
erm just another question, i found this quiry on the site wich would
help a lot if i could get it to work with my own locations.
http://stream.twitter.com/1/statuses/filter.jsonlocations=-122.75,36.8,-121.75,37.8
this is the example they gave. but when i input my on logitude
Hi, i'm trying to created a tweet this button inside flash, but i'm
having trouble to create it.
I have been able to tweet a link using the "twitter.com/shareURL" and
it works fine after the user identify himself, but i'm unable to type
a message together with it. ex: "Hey! Check out this page. "U
Thanks for your reply. Is there anyway to sync server clock
programatically? Or any other way by which we can make the stuff
working? Because I don't have access to server hardware.
On Nov 12, 12:28 am, Abraham Williams <4bra...@gmail.com> wrote:
> Your servers clock needs to be properly synced us
Hello,
I am want to update profile background image using oauth
library & calling account/update_profile_background_image. But I don't
know how can I use this? Which parameter I need to pass to this in
order to update profile background image? Please help me. Thanks in
advance.
--
Twit
38 matches
Mail list logo