[twitter-dev] Re: Visual refresh of the OAuth screens

2011-04-29 Thread Tobias C. Jensen
Looking good!

Just a heads up that on Safari on a Mac you have to press enter twice
to submit the "username and password" form.
Just like with the old oAuth Screen. =)

On 29 Apr., 19:36, bitrace  wrote:
> Hi Matt,
>
> While we welcome improvements to the OAuth screens making it clearer
> what an App can or can not do on a users behalf, the changes that you
> have rolled out have broken our iPhone App TweetIgnite currently live
> in the App store.  [http://itunes.apple.com/app/tweetignite/id411873391?mt=8
> ].  Our App uses an OAuth PIN/out-of-band flow.
>
> As far as I am aware we formatting our OAuth requests correctly (it
> all worked before) and indeed we do receive back the html for the
> Authorisation page, however it is being rendered in the UIWebView as
> blank!
>
> Some investigation indicates that the style sheet may contain an
> incorrectly formed link:
>
>  
>
> should this not be:
>
>  
>
> Also the html returned from our OAuth request contains:
>
>  
>       html { display:none; }
>     
>
> which is clearly why the page is being rendered blank.
>
> Not sure if this is due to how you now handle certain user-agent
> headers? The user-agent presented by our App is TweetIgnite/1.0.3
> (iPhone; iPhone OS 4.3).
>
> I would be grateful for some help to resolve this?  It would also be
> good to get advanced warning of future changes, and even have the
> ability to test against them before they go live.
>
> Best regards,
> Clive Twist
> @clivetwist
>
> On Apr 28, 10:02 pm, Matt Harris  wrote:
>
>
>
> > Hey Developers,
>
> > Some of you may have noticed already that earlier today we deployed a
> > redesign of the OAuth screens.
>
> > We know both you and your users have been asking for better clarity about
> > what an application can see and do with an account and these screens are a
> > step towards doing that.
>
> > One of the areas we wanted to improve is showing the details of your
> > application. If you visit the new screens you will see we've separated your
> > application details from the permissions that are being requested. We did
> > this to help users see that it is your application, not Twitter's. Remember
> > you can update your application details at anytime 
> > onhttp://dev.twitter.com/apps.
>
> > Mobile and international support has also been improved and we now use the
> > same rendering templates as those created for Web Intents. This ensures the
> > design matches the rest of #newtwitter and, more importantly, works
> > cross-browser, cross-platform, and multilingual.
>
> > We hope you find the new designs more welcoming and friendly. Let us know
> > what you think.
>
> > Best,
> > @themattharris
> > Developer Advocate, Twitterhttp://twitter.com/themattharris

-- 
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-dev] Re: Hoping to clear my confusion about Twitter's announcement

2011-03-15 Thread Tobias C. Jensen
Very important questions, in my opinion, Tim. Looking forward to read
the clarifications.

Also, I don't seem to be able to find the original post by Ryan at
http://groups.google.com/group/twitter-api-announce

Does the link provided in the following tweet work for you guys?
https://twitter.com/#!/twitterapi/status/46304795866312704

Regards,
Tobias

On 15 Mar., 00:39, Tim Haines  wrote:
> Hey Ryan, Raffi, Taylor, Matt, and other Twitter staff,
>
> I've been confused about Ryan's post, and some of the follow up comments.
>  Some of the tweets I've seen since have been reassuring that my original
> interpretation of Ryan's email was inaccurate.  I thought you were saying
> 'no new client apps allowed', and I'm very relieved to hear I was wrong.
>
> I wanted to follow up with a few more questions and comments to make sure I
> understand Twitter's message correctly.  Twitter staff, if I have anything
> wrong here, please correct, or rephrase to be more accurate.
>
> Please excuse the length of this and the number of questions at the end of
> the email. Changing the API rules is changing the contract we have, and as
> I'm so invested in the ecosystem (my family's livelihood now depends on it),
> I want to be completely sure I understand what the new contract is that
> you're introducing.
>
> First off, some background.  Ryan said that developers are welcome to
> develop things that Twitter has said developers shouldn't be doing -
> "shouldn't" is guidance only, and not a prohibition.  Twitter will
> only interfere with applications if they break the API TOS. Tweets related
> to this (clicking on the last one and viewing the thread is easiest):
>
>    -https://twitter.com/joestump/status/47094929796759552
>    -https://twitter.com/rsarver/status/47095346899320832
>    -https://twitter.com/timhaines/status/47096379306291203
>    -https://twitter.com/rsarver/status/47096690288771072
>    -https://twitter.com/timhaines/status/47097497679708160
>    -https://twitter.com/rsarver/status/47097681591545856
>
> Furthermore, the most disturbing paragraph for me in Ryan's announcement:
>
> If you are an existing developer of client apps, you can continue to serve
>
> > your user base, but we will be holding you to high standards to ensure you
> > do not violate users’ privacy, that you provide consistency in the user
> > experience, and that you rigorously adhere to all areas of our Terms of
> > Service.
>
> This and the preceding paragraph together could be interpreted to mean that
> developers "aren't allowed" to build NEW client apps.  According to the
> tweets above, they are allowed, but Twitter is advising developers that they
> should focus their efforts elsewhere.  Likewise, existing applications "will
> be held to high standards".  As Ryan clarified in his tweets, these
> applications won't be interfered with unless they break the API TOS.  So all
> told, the email itself doesn't introduce anything new rulewise; you can do
> anything you want within the API TOS, but if you break the API TOS you'll
> potentially have your app revoked.  No change here.
>
> You won't be applying a subjective 'high standard' or 'high bar' and
> revoking an app unless it breaks the API TOS. Phew!  You are remaining an
> open API, within the confines of your stated rules.
>
> However, the email was accompanied with changes to the API TOS (of course
> Twitter can make any change to the API TOS at any time - including adding
> further restrictions in the future).  This round of changes included amongst
> other things, the addition of section I.5, adding restrictions to what
> client applications may and may not do.  For the purposes of this email, I'm
> considering my own application, Favstar, a client.  While it doesn't allow
> you to tweet at the moment, it will in the coming months, therefore meeting
> the criteria specified in the API TOS for Favstar to be regarded as a
> client.
>
> My questions:
>
> 5a: Your Client must use the Twitter API as the sole source for features
>
> > that are substantially similar to functionality offered by Twitter. Some
> > examples include trending topics, who to follow, and suggested user lists.
>
> *Question re 5a:*  Favstar has for a long time offered 'suggested user
> lists' in the form of it's popular page 
> (http://favstar.fm/popular-on-twitter-by-tweets-with-50-favorites)  Is this
> feature now in breach of the API TOS?  If it is in breach, does this place
> Favstar in breach until the feature is removed?
>
> *Question re 5a:*  If I was to add features that surfaced 'popular themes'
> found in tweets that Favstar collects, would this be considered similar to
> Trending topics, and put Favstar in breach of the API TOS?
>
> *Question re 5a:* Favstar users can buy 'bonus features', and receive a slew
> of extra features.  I've recently started promoting these users on the site.
> If follow buttons were added to their avatar's in the places of promotion,
> could this be considered as a 'who to foll

[twitter-dev] Re: The best method for finding new retweets

2010-12-08 Thread Tobias C. Jensen
No suggestions? :)

On 29 Okt., 23:22, "Tobias C. Jensen" <2bia...@gmail.com> wrote:
> Hi guys.
>
> I just tried showing my retweets using retweets_of_me.
>
> However, if I get someone to retweet one of my already retweeted
> statuses, nothing changes in the result - because it already figures
> as retweeted, and retweets_count always shows 'false'.
>
> So does this mean I have to look them all through and find their
> individual retweets, everytime I want to find out if I've got new
> ones? Or is there another method I can use?
>
> All I want to do is monitor new retweets.
>
> Thanks in advance!
>
> - Tobias

-- 
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-dev] Re: Authenticating with $_SESSION['oauth']['oauth_token'] and $_SESSION['oauth']['oauth_token_secret'] returns "Request token must be exchanged for an access token before use"

2010-11-29 Thread Tobias C. Jensen
Never mind, problem solved. Dumb question! :)

On 29 Nov., 23:41, "Tobias C. Jensen" <2bia...@gmail.com> wrote:
> Hi guys.
>
> I'm trying to authenticate with the tmhOAuth PHP class by Matt Harris.
>
> I'm using $_SESSION['oauth']['oauth_token'] as 'user_token' and
> $_SESSION['oauth']['oauth_token_secret'] as 'user_secret'.
>
> But when I try to verify_credentials it returns the error:
>
> {"request":"\/1\/account\/verify_credentials.json","error":"Request
> token must be exchanged for an access token before use"}
>
> Am I doing it wrong? Is the oauth_token and oauth_token_secret
> sessions not the right ones to use?
>
> If I use a token and secret that I stored a month ago it works just
> fine..
>
> Thanks in advance!
>
> Regards,
> Tobias C. Jensen

-- 
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-dev] Authenticating with $_SESSION['oauth']['oauth_token'] and $_SESSION['oauth']['oauth_token_secret'] returns "Request token must be exchanged for an access token before use"

2010-11-29 Thread Tobias C. Jensen
Hi guys.

I'm trying to authenticate with the tmhOAuth PHP class by Matt Harris.

I'm using $_SESSION['oauth']['oauth_token'] as 'user_token' and
$_SESSION['oauth']['oauth_token_secret'] as 'user_secret'.

But when I try to verify_credentials it returns the error:

{"request":"\/1\/account\/verify_credentials.json","error":"Request
token must be exchanged for an access token before use"}

Am I doing it wrong? Is the oauth_token and oauth_token_secret
sessions not the right ones to use?

If I use a token and secret that I stored a month ago it works just
fine..

Thanks in advance!

Regards,
Tobias C. Jensen

-- 
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-dev] Tweet count errors

2010-11-11 Thread Tobias C. Jensen
Hi guys.

Is there a bug with the count of tweets for users? When I look at
there profile (take mine for instance: http://twitter.com/2biazdk) I
only seem to have written 35 tweets. Even though it's more like 4.000.

Most people I look at have the same problem.

Are the Twitter team messing with something?

Regards,
Tobias

-- 
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-dev] Best way of finding favorites of a user's statuses

2010-11-11 Thread Tobias C. Jensen
Hi fellow developers.

I've been looking into finding favorites of a user's statuses.

It seems that I can only read a favorite count off a status or I can
view favorites made by a given user.

What would be the best way to find favorites of a user's statuses -
returned with the user_id's who favorited them?

Any suggestions are welcomed! :)

Kind regards,
Tobias

-- 
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-dev] Max characters in bounding_box coordinates?

2010-10-30 Thread Tobias C. Jensen
Hi guys.

I'm setting up a database to store data from tweets. In that regard I
couldn't find any info on how many characters the place->bounding_box-
>coordinates could be.

Does anyone in here know?

Thanks in advance!

- Tobias

-- 
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-dev] Re: How to store Oauth token and retrieve data using it?

2010-10-30 Thread Tobias C. Jensen
Hi Ramanean.

If you are not already using an OAuth class, I would suggest that you
use the one constructed by Themattharris: 
http://github.com/themattharris/tmhOAuth

It also contains some examples of how to use it.

Regards,
Tobias

On 29 Okt., 04:16, Ramanean  wrote:
> I need to store Oauth tokens in database and  use them to retrieve my
> direct messages and my friends timeline..
>
> I searched in Google and in these forums  but I didn't find a full
> answer for this..I am able to see
>
> [oauth_token] and [oauth_access_token] and store it..
>
> Whether these two can be used to retrieve data at later point of time?
>
> what exactly I should use to fulfil my requirement?
>
> If anyone can point me to a php script it would be great..

-- 
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-dev] The best method for finding new retweets

2010-10-29 Thread Tobias C. Jensen
Hi guys.

I just tried showing my retweets using retweets_of_me.

However, if I get someone to retweet one of my already retweeted
statuses, nothing changes in the result - because it already figures
as retweeted, and retweets_count always shows 'false'.

So does this mean I have to look them all through and find their
individual retweets, everytime I want to find out if I've got new
ones? Or is there another method I can use?

All I want to do is monitor new retweets.

Thanks in advance!

- Tobias

-- 
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-dev] Re: Callback never called with the Streaming API

2010-10-27 Thread Tobias C. Jensen
Nevermind, everything is good! Thanks again! :)

On 26 Okt., 16:12, "Tobias C. Jensen" <2bia...@gmail.com> wrote:
> It seems, though, that if I change just one of the three parameters in
> the streaming call, the page just continuously loads. I don't know if
> that's normal. Or maybe it just doesn't send the output to the screen.
>
> On 25 Okt., 22:44, Matt Harris  wrote:
>
>
>
> > Hi Tobias,
>
> > First thing to do is make sure you have the most recent version of the
> > library. I'm actively developing it and adding various features/utilities to
> > it.
>
> > Secondly, take a look at the Streaming API example here:
>
> >http://github.com/themattharris/tmhOAuth/blob/master/examples/streami...
>
> > Give the example script a try - the library was built around that example
> > (remember to fill in your consumer and user tokens and secrets). If you
> > still have problems let me know on the Github project page issues:
> >    http://github.com/themattharris/tmhOAuth
>
> > Best,
>
> > @themattharris
> > Developer Advocate, Twitterhttp://twitter.com/themattharris
>
> > On Mon, Oct 25, 2010 at 9:16 AM, Tobias C. Jensen <2bia...@gmail.com> wrote:
>
> > > Hi guys.
>
> > > I've been digging into the Twitter API using Themattharris's excellent
> > > PHP class a lot these past two weeks.
>
> > > Everything has been fine with standard OAuth calls, but now I would
> > > like to make use of the User Stream - which the class appearently
> > > supports. However, nothing is returned when I do try the following:
>
> > > 
>
> > > tmhOAuth->streaming_request('GET', 'http://stream.twitter.com/1/
> > > statuses/sample.json', array(
> > >        'count'      => 10,
> > > ), 'test_callback');
>
> > > function test_callback($p) {
> > >        echo 'Now printing: ';
> > >        print_r($p);
> > >        ob_flush();
> > > }
>
> > > 
>
> > > I get a status code '200', but test_callback is never called. If I do
> > > not set a parameter, I receive an error status, so it seems like it
> > > ought to work.
>
> > > Is there a kind person out there, who can get me on the right path, or
> > > am I completely off track here? :) I've been struggling with this all
> > > day and haven't been able to find a solution anywhere online. I have
> > > found a couple of examples that seem to do exactly what I do, but with
> > > succes.
>
> > > Thanks in advance - and for the many useful answers I have already
> > > found here!
> > > - Tobias
>
> > > --
> > > 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-dev] Re: Callback never called with the Streaming API

2010-10-26 Thread Tobias C. Jensen
It seems, though, that if I change just one of the three parameters in
the streaming call, the page just continuously loads. I don't know if
that's normal. Or maybe it just doesn't send the output to the screen.

On 25 Okt., 22:44, Matt Harris  wrote:
> Hi Tobias,
>
> First thing to do is make sure you have the most recent version of the
> library. I'm actively developing it and adding various features/utilities to
> it.
>
> Secondly, take a look at the Streaming API example here:
>
> http://github.com/themattharris/tmhOAuth/blob/master/examples/streami...
>
> Give the example script a try - the library was built around that example
> (remember to fill in your consumer and user tokens and secrets). If you
> still have problems let me know on the Github project page issues:
>    http://github.com/themattharris/tmhOAuth
>
> Best,
>
> @themattharris
> Developer Advocate, Twitterhttp://twitter.com/themattharris
>
> On Mon, Oct 25, 2010 at 9:16 AM, Tobias C. Jensen <2bia...@gmail.com> wrote:
>
>
>
> > Hi guys.
>
> > I've been digging into the Twitter API using Themattharris's excellent
> > PHP class a lot these past two weeks.
>
> > Everything has been fine with standard OAuth calls, but now I would
> > like to make use of the User Stream - which the class appearently
> > supports. However, nothing is returned when I do try the following:
>
> > 
>
> > tmhOAuth->streaming_request('GET', 'http://stream.twitter.com/1/
> > statuses/sample.json', array(
> >        'count'      => 10,
> > ), 'test_callback');
>
> > function test_callback($p) {
> >        echo 'Now printing: ';
> >        print_r($p);
> >        ob_flush();
> > }
>
> > 
>
> > I get a status code '200', but test_callback is never called. If I do
> > not set a parameter, I receive an error status, so it seems like it
> > ought to work.
>
> > Is there a kind person out there, who can get me on the right path, or
> > am I completely off track here? :) I've been struggling with this all
> > day and haven't been able to find a solution anywhere online. I have
> > found a couple of examples that seem to do exactly what I do, but with
> > succes.
>
> > Thanks in advance - and for the many useful answers I have already
> > found here!
> > - Tobias
>
> > --
> > 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-dev] Re: Callback never called with the Streaming API

2010-10-26 Thread Tobias C. Jensen
Hi Matt.

It seems to work perfectly! Thanks a lot, I somehow missed the
examples section on GitHub.

Have a great day! :)

Regards,
Tobias

On 25 Okt., 22:44, Matt Harris  wrote:
> Hi Tobias,
>
> First thing to do is make sure you have the most recent version of the
> library. I'm actively developing it and adding various features/utilities to
> it.
>
> Secondly, take a look at the Streaming API example here:
>
> http://github.com/themattharris/tmhOAuth/blob/master/examples/streami...
>
> Give the example script a try - the library was built around that example
> (remember to fill in your consumer and user tokens and secrets). If you
> still have problems let me know on the Github project page issues:
>    http://github.com/themattharris/tmhOAuth
>
> Best,
>
> @themattharris
> Developer Advocate, Twitterhttp://twitter.com/themattharris
>
> On Mon, Oct 25, 2010 at 9:16 AM, Tobias C. Jensen <2bia...@gmail.com> wrote:
>
>
>
> > Hi guys.
>
> > I've been digging into the Twitter API using Themattharris's excellent
> > PHP class a lot these past two weeks.
>
> > Everything has been fine with standard OAuth calls, but now I would
> > like to make use of the User Stream - which the class appearently
> > supports. However, nothing is returned when I do try the following:
>
> > 
>
> > tmhOAuth->streaming_request('GET', 'http://stream.twitter.com/1/
> > statuses/sample.json', array(
> >        'count'      => 10,
> > ), 'test_callback');
>
> > function test_callback($p) {
> >        echo 'Now printing: ';
> >        print_r($p);
> >        ob_flush();
> > }
>
> > 
>
> > I get a status code '200', but test_callback is never called. If I do
> > not set a parameter, I receive an error status, so it seems like it
> > ought to work.
>
> > Is there a kind person out there, who can get me on the right path, or
> > am I completely off track here? :) I've been struggling with this all
> > day and haven't been able to find a solution anywhere online. I have
> > found a couple of examples that seem to do exactly what I do, but with
> > succes.
>
> > Thanks in advance - and for the many useful answers I have already
> > found here!
> > - Tobias
>
> > --
> > 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-dev] Callback never called with the Streaming API

2010-10-25 Thread Tobias C. Jensen
Hi guys.

I've been digging into the Twitter API using Themattharris's excellent
PHP class a lot these past two weeks.

Everything has been fine with standard OAuth calls, but now I would
like to make use of the User Stream - which the class appearently
supports. However, nothing is returned when I do try the following:



tmhOAuth->streaming_request('GET', 'http://stream.twitter.com/1/
statuses/sample.json', array(
'count'  => 10,
), 'test_callback');

function test_callback($p) {
echo 'Now printing: ';
print_r($p);
ob_flush();
}



I get a status code '200', but test_callback is never called. If I do
not set a parameter, I receive an error status, so it seems like it
ought to work.

Is there a kind person out there, who can get me on the right path, or
am I completely off track here? :) I've been struggling with this all
day and haven't been able to find a solution anywhere online. I have
found a couple of examples that seem to do exactly what I do, but with
succes.

Thanks in advance - and for the many useful answers I have already
found here!
- Tobias

-- 
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