[twitter-dev] Twitter4J 2.2.1 released

2011-03-19 Thread Yusuke Yamamoto
Hi all,

Twitter4J is an unofficial, open-sourced, mavenized and Google App 
Engine/Android ready Java library for the Twitter API released under the Apache 
License 2.0.

I'm pleased to announce the immediate availability of Twitter4J version 2.2.1.

Please note that Twitter4J is an open-source project which is NOT sponsored or 
affiliated by Twitter.
For Twtter4J specific issues/questions, please use the Twitter4J mailing list 
(NOT twitter-development-talk).
http://twitter4j.org/en/index.html#mailingList

- Download:
http://twitter4j.org/en/index.html#download

- Release Notes:
http://twitter4j.org/jira/secure/ReleaseNote.jspa?projectId=10002version=10362

This release is also available at the Maven central repository.
http://repo1.maven.org/maven2/org/twitter4j/twitter4j-core/

Please refer the Support API matrix for supported methods.
http://twitter4j.org/en/api-support.html

Thanks,
-- 
Yusuke Yamamoto
yus...@mac.com

this email is: [x] bloggable/tweetable [ ] private
follow me on : http://twitter.com/yusukeyamamoto
subscribe me at : http://samuraism.jp/

-- 
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] 401 unauthorized

2011-03-19 Thread Trevor Dean
Is anyone else experiencing any 401 errors all of a sudden?  I was doing
some testing this morning and was logging in fine using twitter and then 10
min later I started getting 401 unauthorized errors.


Thanks,


Trevor

-- 
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] 401 unauthorized

2011-03-19 Thread Matt Harris
Hi Trevor,

Could you share the request and response you are sending so we can
investigate. Remember to obscure user and consumer secrets.

Thanks,
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


On Sat, Mar 19, 2011 at 5:47 AM, Trevor Dean trevord...@gmail.com wrote:


 Is anyone else experiencing any 401 errors all of a sudden?  I was doing
 some testing this morning and was logging in fine using twitter and then 10
 min later I started getting 401 unauthorized errors.


 Thanks,


 Trevor

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


Re: [twitter-dev] 401 Not Authorized in API OAuth PHP authorization

2011-03-19 Thread Matt Harris
Hi,

The error message Failed to validate oauth signature and token does mean
either the signature you are sending, or the consumer token is invalid.
Could you share the request you are making, and response you are getting.
Remember to obscure any user or consumer secrets.

Best,
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


On Fri, Mar 18, 2011 at 11:49 AM, @matheuseduardo matheuseduardo.com@
gmail.com wrote:

 seems to be ok
 the function that generate the is just:

 function generate_timestamp() {
return time();
 }

 and in header I have the parameter: [oauth_timestamp] = 1300471769

 the error received from request in twitter api is: Failed to validate
 oauth signature and token and header 401

 Must be signature?

 I just think it's weird because it's happening in all library and examples
 ready for tests..

 --
 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] Are embedded videos available through the API?

2011-03-19 Thread Adam Green
I have a client who wants to extract videos that are embedded in
tweets and displayed in the new Twitter UI. I realized that I have
never seen anything here about this issue. A check of the docs shows
nothing on this, and using the relevant API calls for statuses doesn't
return any fields related to embedded media. Is this available through
the API?

The other way I can see doing this is looking for entity URLs from
YouTube and other video sites, but I was hoping there was something
more direct.

-- 
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] Flaw in Twitter Widget code - Note to Twitter Developers!

2011-03-19 Thread BuffLaser2000
In this code:
http://twitter.com/javascripts/widgets/widget.js

You are using document.write() to create the widget element. Bad bad
bad. Any AJAX site that tries to init the widget after the page loads
will have the entire page overwritten by the widget.

W3C even has this to say about document.write():
Note: Try to avoid using document.write() in real life JavaScript
code. The entire HTML page will be overwritten if document.write() is
used inside a function, or after the page is loaded. However,
document.write() is an easy way to demonstrate JavaScript output in a
tutorial.

So, I downloaded the JS file and modified TWTR.Widget to take a
container element name as part of the options object. If
set, .innerHTML is used on the container element instead of
document.write.

This simple fix will make your widgets compatible with Web 2.0 sites.

Thanks for listening.

-- 
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] Are embedded videos available through the API?

2011-03-19 Thread Scott Wilcox
Hi Adam,

I've not seen anything API side for it (for public use), I think mostly its 
built into the NewTwitter UI. Probably rendered inline.

It'll be interested to see Ryan or Taylor respond to this, but I doubt there is 
anything for us to use.

Scott.

On 19 Mar 2011, at 23:38, Adam Green wrote:

 I have a client who wants to extract videos that are embedded in
 tweets and displayed in the new Twitter UI. I realized that I have
 never seen anything here about this issue. A check of the docs shows
 nothing on this, and using the relevant API calls for statuses doesn't
 return any fields related to embedded media. Is this available through
 the API?
 
 The other way I can see doing this is looking for entity URLs from
 YouTube and other video sites, but I was hoping there was something
 more direct.

-- 
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: Are embedded videos available through the API?

2011-03-19 Thread Tim Bull
Have you looked at embed.ly?

You can use the entities to extract the URLs really easily too
http://developer.twitter.com/pages/tweet_entities

Tim

On Mar 20, 10:44 am, Scott Wilcox sc...@dor.ky wrote:
 Hi Adam,

 I've not seen anything API side for it (for public use), I think mostly its 
 built into the NewTwitter UI. Probably rendered inline.

 It'll be interested to see Ryan or Taylor respond to this, but I doubt there 
 is anything for us to use.

 Scott.

 On 19 Mar 2011, at 23:38, Adam Green wrote:







  I have a client who wants to extract videos that are embedded in
  tweets and displayed in the new Twitter UI. I realized that I have
  never seen anything here about this issue. A check of the docs shows
  nothing on this, and using the relevant API calls for statuses doesn't
  return any fields related to embedded media. Is this available through
  the API?

  The other way I can see doing this is looking for entity URLs from
  YouTube and other video sites, but I was hoping there was something
  more direct.

-- 
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] Re: Are embedded videos available through the API?

2011-03-19 Thread Adam Green
Thanks.  I am aware of the entity URLs. I thought the API may have
something else, but my guess is that the new UI does what I would do,
which is look for URLs from known sources and then display them in the
appropriate player.

On Sat, Mar 19, 2011 at 7:51 PM, Tim Bull t...@trunk.ly wrote:
 Have you looked at embed.ly?

 You can use the entities to extract the URLs really easily too
 http://developer.twitter.com/pages/tweet_entities

 Tim

 On Mar 20, 10:44 am, Scott Wilcox sc...@dor.ky wrote:
 Hi Adam,

 I've not seen anything API side for it (for public use), I think mostly its 
 built into the NewTwitter UI. Probably rendered inline.

 It'll be interested to see Ryan or Taylor respond to this, but I doubt there 
 is anything for us to use.

 Scott.

 On 19 Mar 2011, at 23:38, Adam Green wrote:







  I have a client who wants to extract videos that are embedded in
  tweets and displayed in the new Twitter UI. I realized that I have
  never seen anything here about this issue. A check of the docs shows
  nothing on this, and using the relevant API calls for statuses doesn't
  return any fields related to embedded media. Is this available through
  the API?

  The other way I can see doing this is looking for entity URLs from
  YouTube and other video sites, but I was hoping there was something
  more direct.

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




-- 
Adam Green
Twitter API Consultant and Trainer
http://140dev.com
@140dev

-- 
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] Another ID that can't be retrieved

2011-03-19 Thread Dossy Shiobara

http://twitter.com/users/show/140440849.xml

Another empty response, both XML and JSON.

--
Dossy Shiobara |  He realized the fastest way to change
do...@panoptic.com |   is to laugh at your own folly -- then you
http://panoptic.com/   |   can let go and quickly move on. (p. 70)
  * WordPress * jQuery * MySQL * Security * Business Continuity *

--
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] 401 error is back

2011-03-19 Thread ShanghaiTimes
22 days ago my Gadget stopped working. Been working fine for at least
6 months.
Nothing changed - I have been away, however now.

Current Time Referenced To Twitter Server
Sun Mar 20 02:23:02 + 2011
[Attempting Update] - ( 90-chrs Used / 50-chrs Remaining )
Bruce Daigrepont - Disco Et Fais Do Do by Bruce Daigrepont... on
http://Quantum-Radio.net
Update Failed - [Return Code] = 401 - Unauthorized

I have checked all the codes/tokens, and all are correct.
Nothing has changed - except now the update no longer works.

Any help would be much appreciated.
bc

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