[twitter-dev] Twiter

2010-11-19 Thread Romy
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() {
window.open( http://twitter.com/share?url=myURL;, myWindow,
status=1, height = 400, width = 500, resizable = 0 )
}
a onclick=myPopup1()img src=twitter.png alt=Twitter
title=Twitter border=0 //a

is this is possible?

thanks
Rahul

-- 
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] Twiter send 401 when image upload

2010-08-17 Thread ivanus
hello!
I've registered a desktop app on twitter.
Using standard Oauth Library for generating signatures http://
oauth.googlecode.com/svn/code/csharp/OAuthBase.cs
I've get token, secret token and gave extended permissions to my app
using generated PIN. - there wasn;t problems

Now i'm trying to upload picture using this blog
http://blogs.southworks.net/jpgarcia/2010/07/31/using-twitpic-api-20-oauth-echo-from-a-c-client-to-upload-pictures/#comments

All seems fine, but i've got 401 error in response.
If i'm checking credentials in separate response, i've also got 401
error. But if put credential link in the browser, after entering in
popup window
my login/password i've got JSON credentials file.

Have anybody the solution of this problem with uploading?