[twitter-dev] warning 'Tweet Button' please alert securiy twitter team

2010-09-26 Thread Victor Hugo
*warning!!   auto post*

please check this url :

http://twitter.com/share/update?status=test


please alert securiy twitter team


 */share/update?status=*


thanks!

-- 
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] callbacks to localhost work... why?!

2010-09-26 Thread CI-CUBE
I'm really surprised that twitter oauth negotiation works with
localhost callbacks... neither I've authorized localhost as callback
domain nor do I understand how this is possible technically...

Any comments please? Love to learn...

  Ekki

* GWT Rocks! * SmartGWT Rocks Even Harder! * GWT 2.0.3,
SmartGWT PRO 2.3, JRE 1.6.0_20, Eclipse 3.6 *
* Xcode 3.2.2 * iOS 3.0 (Base OS) *

-- 
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: not showing the Callback call?

2010-09-26 Thread Ekkehard Beier
 I just render a script 
type=\text/javascript\window.close()/script response. This does 
what I need. Thread closed. Thx anyway


Ekki

On 9/26/2010 10:22 AM, CI-CUBE wrote:

Hi,

I'm running a GWT app with RPC Servlets, but use an HTTP Servlet for
the twitter auth callback. All and everything works just great except
for one thing... I don't need and don't wanna have any visibility of
the called callback... But no matter what I try, e.g. SC_NO_CONTENT,
it's always visible... is there any way to avoid this, or do I have to
create a dummy page with just one close button/or doing close
programmatically?

Thx 4 any comments,

Ekki

* GWT Rocks! * SmartGWT Rocks Even Harder! * GWT 2.0.3,
SmartGWT PRO 2.3, JRE 1.6.0_20, Eclipse 3.6 *
* Xcode 3.2.2 * iOS 3.0 (Base OS) *



--
Ekkehard Beier

www.ci-cube.biz www.myspace.com/CICUBE CubeBrowser.AppSpot.com
www.AwardCubes.com www.BuddyCubes.de www.MasterCubes.com
skype: ci-cube

DR. ING. HABIL. EKKEHARD BEIER CI-CUBE DEVELOPMENT
Ekkehard Beier - Prof. Köhler-Straße 15 - D-98693 ILMENAU
UST-IDNR. DE226125245

--
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] Getting a Twitter flash app working on external site

2010-09-26 Thread Jamie Tanna
Hi guys,

I'm doing some website creation for Young Enterprise, and I can't get
it working on an external site...

This is the code I'm using: 
http://www.republicofcode.com/tutorials/flash/twitter_widget/index.php

This is really annoying, as I spent quite a while trying to get it
completely set up, get the app looking as nice as I could get it etc.


Thanks for the help

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


Re: [twitter-dev] callbacks to localhost work... why?!

2010-09-26 Thread Tom van der Woerdt
The callback isn't done server-side. Instead, it simply tells the
browser to visit a certain URL.

I personally don't like the usage of the word Callback here. I would say
that Return URL would be a better word. However, the OAuth spec disagrees.

Tom


On 9/26/10 10:42 AM, CI-CUBE wrote:
 I'm really surprised that twitter oauth negotiation works with
 localhost callbacks... neither I've authorized localhost as callback
 domain nor do I understand how this is possible technically...
 
 Any comments please? Love to learn...
 
   Ekki
 
 * GWT Rocks! * SmartGWT Rocks Even Harder! * GWT 2.0.3,
 SmartGWT PRO 2.3, JRE 1.6.0_20, Eclipse 3.6 *
 * Xcode 3.2.2 * iOS 3.0 (Base OS) *
 

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


Re: [twitter-dev] twitter oAuth 401 Unauthorizd error

2010-09-26 Thread Ramesh Billapati
made callbackurl =oob, it worked! thanks!

On Thu, Sep 23, 2010 at 12:57 AM, Tom van der Woerdt i...@tvdw.eu wrote:

 There's an oauth_callback in your Base String but not in your
 POST/Authorization header.

 Tom


 On 9/23/10 3:00 AM, bill wrote:
  I have been working on a 401 error from twitter oAuth, but I have no
  clue. Please see if you can help me
 
  Thanks
 
  Log
  ===
 
  debug: token is now:
  debug: token_secret is now:
  debug: Getting request token from http://twitter.com/oauth/request_token
  debug: callback:
  debug: signing request with: HMAC-SHA1
  debug: Signing with base string: POSThttp%3A%2F%2Ftwitter.com%2Foauth
  %2Frequest_tokenoauth_callback%3D%26oauth_consumer_key
  %3D**%26oauth_nonce
  %3D%26oauth_signature_method%3DHMAC-
  SHA1%26oauth_timestamp%3D1285202944%26oauth_version%3D1.0
  debug: Signing with key: *
  debug: * Connected to tcp://twitter.com:80
  debug:  POST /oauth/request_token HTTP/1.1
  debug:  User-Agent: HTTP_Request2/0.5.2 (http://pear.php.net/package/
  http_request2) PHP/5.3.1
  debug:  Authorization: OAuth realm=http://twitter.com/;,
  oauth_consumer_key=**,
  oauth_nonce=,
  oauth_signature=*%3D,
  oauth_signature_method=HMAC-SHA1, oauth_timestamp=1285202944,
  oauth_version=1.0
  debug:  Host: twitter.com
  debug:  Accept-Encoding: gzip, deflate
  debug:  Content-Length: 0
  debug: 
  debug:  HTTP/1.1 401 Unauthorized
  debug:  date: Thu, 23 Sep 2010 00:49:04 GMT
  debug:  server: hi
  debug:  status: 401 Unauthorized
  debug:  x-transaction: 1285202944-71537-9675
  debug:  last-modified: Thu, 23 Sep 2010 00:49:04 GMT
  debug:  x-runtime: 0.00586
  debug:  content-type: text/html; charset=utf-8
  debug:  pragma: no-cache
  debug:  x-revision: DEV
  debug:  expires: Tue, 31 Mar 1981 05:00:00 GMT
  debug:  cache-control: no-cache, no-store, must-revalidate, pre-
  check=0, post-check=0
  debug:  x-xss-protection: 1; mode=block
  debug:  x-frame-options: SAMEORIGIN
  debug:  vary: Accept-Encoding
  debug:  content-encoding: gzip
  debug:  content-length: 62
  debug:  connection: close
  debug: 
  debug: Failed to validate oauth signature and token
  debug: * Disconnected
  Net_URL2 Object ( [_options:Net_URL2:private] = Array ( [strict] = 1
  [use_brackets] = 1 [encode_keys] = 1 [input_separator] = 
  [output_separator] =  ) [_scheme:Net_URL2:private] = http
  [_userinfo:Net_URL2:private] = [_host:Net_URL2:private] =
  twitter.com [_port:Net_URL2:private] = [_path:Net_URL2:private] = /
  oauth/request_token [_query:Net_URL2:private] =
  [_fragment:Net_URL2:private] = )
  --- In exception block ---ERROR: Failed getting token and
  token secret from response
 

 --
 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: Find tweets by application?

2010-09-26 Thread Fredrik Olsson
I am having some problems with making this work.

http://search.twitter.com/search.atom?q=oredev Gives many results,
including results sent from my app Tweet Note.

I am trying to add the source argument as source=tweetnote,
...tweet+note, ...Tweet+Note, TweetNote, and every other
combination I can think of. But everything has yielded an empty result
list so far.

What am I doing wrong?

On 25 Sep, 03:53, Jeff jsh2...@gmail.com wrote:
 you can add the source=XYZ argument to URL

 http://search.twitter.com/search.atom?q=marshmallowsource=echofon

 On Sep 24, 10:49 am, Fredrik Olsson pey...@gmail.com wrote:



  Is there any way to filtertweetsby what application was used to send
  the update?

  The usecase is naturally in order to track what users of my own
  application are tweeting about.

-- 
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] Querying rate_limit_status from command line - authentication issue

2010-09-26 Thread Moshe C.
Hi,
Before basic authentication was deprecated, I used to query rate_limit
(http://api.twitter.com//1/account/rate_limit_status.xml)  from the
command line directly with curl or wget .

How can I do this now?
I do have OAuth working from within my app, but I need a quick way to
check my limit.
Using the Twurl console does not work. I.e. it works but it returns
150 when I know (via application) I have 20,000 - it is not using the
user I am logged in with.

TIA

-- 
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: Streaming API skips users

2010-09-26 Thread Ginny Hendry

FYI, we found the bug!  Twitter API was fine, but yajl-ruby gem has an
error that causes it to skip tweets of some lengths, which accounts
for the weird way it let some through and not others.

We're heading off to correct the Ruby gem now.

   -Ginny

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

2010-09-26 Thread Rick Stuivenberg
Hello,

Since the deprecated of the basic auth method, I am now using
TwitterOauth from Abraham. I am trying to get all of my followers
information in one array so I can use all those information and
process it.

I call the follow GET from the OAuth: $getids = $oauth-get('followers/
ids');

Now I want to know how to process these ids in order to use $oauth-
get('users/lookup', array('user_id' = 'ID'));

Is there somebody that wants to help me into the right direction or
has a example code.

Many thanks!

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

2010-09-26 Thread Rick
Excellent. This should help me continue doing development.

Thank you.

On 27 sep, 00:00, Abraham Williams 4bra...@gmail.com wrote:
 This should do what you need:http://gist.github.com/598349

 Abraham
 -
 Abraham Williams | Hacker Advocate |http://abrah.am
 @abraham |http://projects.abrah.am|http://blog.abrah.am
 This email is: [ ] shareable [x] ask first [ ] private.

 On Sun, Sep 26, 2010 at 13:57, Rick Stuivenberg
 rickstuivenb...@gmail.comwrote:



  Hello,

  Since the deprecated of the basic auth method, I am now using
  TwitterOauth from Abraham. I am trying to get all of my followers
  information in one array so I can use all those information and
  process it.

  I call the follow GET from the OAuth: $getids = $oauth-get('followers/
  ids');

  Now I want to know how to process these ids in order to use $oauth-
  get('users/lookup', array('user_id' = 'ID'));

  Is there somebody that wants to help me into the right direction or
  has a example code.

  Many thanks!

  --
  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] A Plea to allow auto-unfollow-back vote here!

2010-09-26 Thread D. Smith
If auto-follow back is allowed
but auto-unfollow back is not allowed,
that actually plays in favor of spammers in a big way!

Now a spammer can use the tactic to follow/wait for follow-back, then
unfollow you,
knowing that now thanks to Twitter's infinite wisdom, the
automated auto-unfollow-back services no longer exist because they
violate Twitter's rules, so no company offers this anymore.

So now if you setup an auto-follow-back feature with one of the
many free services that provide it, you are instantly becoming a
potential
victim of bait and unfollow schemes.

I can certainly understand that automated unfollowing can hurt Twitter
business since
they work hard on making people follow more people, hey, they even
added these infomaous
(annoying sometimes, maybe?) Who to follow block on the Twitter
pages. It's very clear to
see that Twitter wants you to follow more people, and applying the
same logic, it's
easy to see that they really really don't want you to unfollow large
number of people.

I know Twitter developers are very smart people,
but for the love of God, don't you see that this ban on automated
unfollow
benefits the spammers big time?!

I think Twitter should think of a new category of automated
unfollowing called
auto-unfollow-back, meaning that automatically unfollowing those who
unfollowed you
should be considered a special case and should be allowed, just like
auto-follow-back is allowed!

If you agree with me, please just reply and say Right on!
If you disagree, then please explain why not.

Peace!

-- 
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: Need inputs to implement Twitter app using xAuth

2010-09-26 Thread shubham patni
Hi hitesh, I also got successfully performed even my twit also send
but I am getting Twitter Exception every time with status code 403.
Can you please suggest me how can I solved this problem.

Thanks in Advance

On Sep 18, 8:35 am, Hitesh cyberhit...@gmail.com wrote:
 Hi All,
 I was successfully managed to implement twitter xAuth permissions
 using Java. I have used Twitter4J package for it. Also i have posted
 the code snippets on a href=http://www.hiteshagrawal.com/java/
 twitter-xauth-permission-using-javaTwiiter xAuth Permission in Java/
 a

 On Jul 28, 2:29 pm, Sambath Chandran sambat...@gmail.com wrote:

  All,
  I am implementing an application to receive and the latest tweet from the
  twitter. After refering to twitter website, I concluded to use xAuth
  authentication for my development.

  Can anybody let me know is there any ready to use java library for xAuth?

  Basially I want to know to how to make xAuth work with Java.

  Thanks,
  Sambath

-- 
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] AppleScript call to Ruby Script Help

2010-09-26 Thread William K.
I've written an AppleScript that will choose a graphic to upload and
change the profile Image.  I found this Ruby Script that does an oAuth
call to the update_profile_image API.  (http://gist.github.com/97756)

I made a few tweaks to use the new API paths, and am successful when
typing in Terminal:
ruby update_profile_image.rb {Path/to/image}

The image uploads perfect and is visible to the Twitter account.

Now when I try to put it in the script as:
set file_path to /Users/serveradmin/Pictures/Weather/ 
image_graphic
do shell script ruby /Users/serveradmin/update_profile_image.rb  
file_path

I receive the following error:
error /Users/serveradmin/update_profile_image.rb:82:in `add_oauth':
undefined method `[]' for nil:NilClass (NoMethodError)
from /Users/serveradmin/update_profile_image.rb:93
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/net/http.rb:543:in `start'
from /Users/serveradmin/update_profile_image.rb:90 number 1

I've also tried:

set file_path to '/Users/serveradmin/Pictures/Weather/ 
image_graphic  '
do shell script ruby '/Users/serveradmin/update_profile_image.rb  
file_path

In this case, I receive the following error:
error ruby: No such file or directory -- Users/serveradmin/
update_profile_image.rb /Users/serveradmin/Pictures/Weather/
summer_day.jpg (LoadError) number 1

Does anyone seen anything similar? and/or have any suggestions on
edits I can do to get the two scripts working with each other?

Thank you!

-- 
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] xauth help for: 'failed to validate oauth signature and token'

2010-09-26 Thread Doug
Hi folks,

I have been banging my head against the wall trying to figure out why
I keep getting 'failed to validate oauth signature and token' when
requesting the access token using xauth.  I did get xauth enabled,
however I should point out there is nothing indicating this in the
app's detail page. Should there be?

For sake of debugging, I am using the xAuth tutorial fields located
here:
http://dev.twitter.com/pages/xauth
it looks quite identical.  I understand the timestamps, keys, and
nonce would be invalid, I just wanted to check things out:

Body:
x_auth_username=oauth_test_execx_auth_password=twitter-
xauthx_auth_mode=client_auth

Authorization header field:
oauth_consumer_key=JvyS7DO2qd6NNTsXJ4E7zA,
oauth_signature_method=HMAC-SHA1,
oauth_signature=1L1oXQmawZAkQ47FHLwcOV%2Bkjwc%3D,
oauth_timestamp=1284565601,
oauth_nonce=6AN2dKRzxyGhmIXUKSmp1JcB4pckM8rD3frKMTmVAo,
oauth_version=1.0

Signature base string:
POSThttps%3A%2F%2Fapi.twitter.com%2Foauth
%2Faccess_tokenoauth_consumer_key%3DJvyS7DO2qd6NNTsXJ4E7zA
%26oauth_nonce%3D6AN2dKRzxyGhmIXUKSmp1JcB4pckM8rD3frKMTmVAo
%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
%3D1284565601%26oauth_version%3D1.0%26x_auth_mode%3Dclient_auth
%26x_auth_password%3Dtwitter-xauth%26x_auth_username%3Doauth_test_exec


URL:
https://api.twitter.com/oauth/access_token


If I turn all the fields to 'real' I will get the same error as the
above code does.  Hearing that time can cause this I can say that my
clock is only off a few seconds from my cell phone and I am using
time(null) to snag the value.  I assume that is seconds since 1970
without timezone interference.

Any ideas?

-- 
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] problem about Anywhere and Tweetbutton

2010-09-26 Thread Emre GÜLCAN
Hi all,
I'm new on the list.
I have a problem about @anywhere and tweetbutton in Internet Explorer 8
If I use just @anywhere hovercards there is no problem, but when I add
Tweetbutton script in my html code, I get an error like that This object
doesn't support this

My @anywhere code is

twttr.anywhere(function(twitter) {
   twitter.hovercards();
});

and my Tweetbutton script is

a href=http://twitter.com/share; class=twitter-share-button data-url=
http://bilkom.banadestekolsun.com; data-text=Apple kullan, doğayı koru...
Projeme destek ver, seninde bir ağacın olsun... data-count=none
data-via=macbookistiyomTweet/ascript type=text/javascript src=
http://platform.twitter.com/widgets.js;/script


Can somebody help me?

Regards from Turkey

*

Emre GULCAN*

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


Re: [twitter-dev] Tweet button with AJAX content

2010-09-26 Thread Cairo Noleto
Hi, I have the same problem. Someone can help us?

On Mon, Sep 20, 2010 at 08:45, danny dco...@gmail.com wrote:

 I've searched and searched without any luck.

 I have AJAX content coming in, rendered in HTML with Tweet buttons all
 over the place.

 Problem is, the Tweet button does not work (since it appears the
 Twitter Javascript goes through the loaded page DOM to enable the
 Tweet button links AFTER the page load).

 Right now I am manually generating the URL to forward the user to the
 Twitter message page on a new window.
 And I don't want to create a Javascript to pop it up in a centered
 window with a fixed size since I want to stick to what Twitter has
 already provided in their JS.

 So anyone figure out how to make the Tweet button work with AJAX
 content? The only hack I can think of is to unload the Twitter
 Javascript from the HTML DOM and when AJAX content comes in...reload
 the Twitter Javascript (I know...it's a very bad hack)

 Suggestions? Thanks

 --
 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?hl=en




-- 
Atenciosamente,

Cairo Noleto 
Visits http://www.caironoleto.com/

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