[twitter-dev] Authentication dilemma

2011-07-03 Thread george
We have a website for internal use within our company. When a certain
action occurs on the site, such as a survey being completed, we would
like to have the app (our website) post a status update on our
company's Twitter account. This process is supposed to be invisible to
the user and cannot involve several steps (several requests being made
by the browser).

What is the proper authentication method for this? It used to be very
easy with Basic Auth, but now I am confused. OAuth seems to be
designed for Twitter user agents, which is not our case. The visitor
of our website does not interact with Twitter in any way.

Thanks,
George

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


[twitter-dev] Re: GET direct_messages not works

2011-07-03 Thread oosswwaalldd
Anbarasan K,

you have to go to dev.twitter.com/apps, go to your app and change the
Permission level to Read/Write  Direct Messages, once you do that you
have to revoke and re-authorize your client. That is because Twitter
just change the API permission level and by doing this, if you upgrade
or downgrade the app permission, the oauth_token and
oauth_token_secret change as well.

Hope this helps

On Jul 2, 9:34 am, Anbarasan K kanbarasa...@gmail.com wrote:
 Hi,

 I have used 'GET direct_messages' for getting my direct message using
 twitter REST API method. It previously works well. But now today it
 not works to me, it does not return anything. Only return error
 message, this below error

 This application is not allowed to access or delete your direct
 messages

 Why it not works to me now...

 Can you help?

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


[twitter-dev] Posting/share a content from my site??

2011-07-03 Thread Farid
Hi..., I am new being twitter developer.., I want to share/post a
content from my site to twitter, how I can do that?, or you can send
me a link to twitter API documentation.

Thanks. :)

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


[twitter-dev] How to build API proxy(with Ruby)

2011-07-03 Thread tomykaira
Hi, everyone.

I want to build personal API proxy server like apigee for NLP related
research.
Basically, it should receive request from the client, redirect it to
the official API server, get the response, and send the response to
the client.

I have two questions.
1. What I want is similar to MITM attack.  Is it possible to make such
thing, and how?
2. Is there an implementation of this in ruby (using Sinatra or
something)?

Thanks, in advance.

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: [twitter-dev] Authentication dilemma

2011-07-03 Thread Tom van der Woerdt

OAuth, but using the SSO keys provided to you on dev.twitter.com.

Tom


On 7/3/11 12:48 AM, george wrote:

We have a website for internal use within our company. When a certain
action occurs on the site, such as a survey being completed, we would
like to have the app (our website) post a status update on our
company's Twitter account. This process is supposed to be invisible to
the user and cannot involve several steps (several requests being made
by the browser).

What is the proper authentication method for this? It used to be very
easy with Basic Auth, but now I am confused. OAuth seems to be
designed for Twitter user agents, which is not our case. The visitor
of our website does not interact with Twitter in any way.

Thanks,
George



--
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: [twitter-dev] Re: Twitter Search not showing results

2011-07-03 Thread kamesh SmartDude
Hai shilpa,

Rate Limiting depends on the IP Adress. Twitter server calculates the no of
requests from the IP adress and limits the response.

//kamesh



On Fri, Jul 1, 2011 at 10:33 PM, sri shilpa srishilp...@gmail.com wrote:

 Thank You Kamesh. Yes thats only the problem. But my client is not getting
 results even once also. But i am getting results as in twitter advanced
 search...i don't understand what might be the problem. Is Blacklist is based
 on IP address or server used. I am getting results in same server. I am not
 sure whats happening..

 Once again Thanks...

 --
 Twitter developer documentation and resources: https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk


-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: [twitter-dev] Error Message List Of Twitter

2011-07-03 Thread kamesh SmartDude
Hai,

i mentioned that as an example how it is returning error ,messages.

i need all the error message list for each and every API.

Thanks for the reply.

Regards,
kamesh

On Sat, Jul 2, 2011 at 1:18 PM, Mo'b Mo'b mobingapapi...@gmail.com wrote:

 Have you read the api? Use Oauth.


 On Thu, Jun 30, 2011 at 11:59 AM, kamesh SmartDude 
 kamesh.smartd...@gmail.com wrote:

 Hai All,

 Where i can find all the error messages list of twitter.

 suppose No direct message with that ID found Might Come with a http
 response code 400and might have a error code...

 //ly

  {errors:[{code:53,message:Basic authentication is not
 supported}]}
 where i can find all these error codes...in a page

 //kamesh

 --
 Twitter developer documentation and resources:
 https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk




 --
 ©*InFiNiTy*. *Mobinga Inc*.

 --
 Twitter developer documentation and resources: https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk


-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: [twitter-dev] Twitter API implementation

2011-07-03 Thread kamesh SmartDude
Hai,

is it possible for u which API that lib is using.
Because twitter deprecated the OLD statuses/following, statuses/follower
API.

And now it is using the New API's to get the data.

//kamesh

On Sat, Jul 2, 2011 at 8:47 PM, subdesign szala...@gmail.com wrote:

 Hi,
 I use Codeigniter php framework, and tried two Twitter libraries, that
 work fine, but my problem is the following. When I set up the first
 lib, I saw my tweets first time, but when I checked back an hour
 later, I couldn't get my tweets from the api anymore. Thats why I
 isntalled a second api lib, and the result is the same..
 Strange, I can get other users tweets easily!
 What happened, maybe I connected too many times to the api server?
 Again, the api libs are okay, I have probs only with my account.
 Anyway the account is active and live, I can post tweets and log in
 and so on.
 I checked the api status page, and all module was green.

 I guess it's not programming language dependent problem, I tried
 #twitterapi irc channel but its quiet.

 Any idea? thanks

 --
 Twitter developer documentation and resources: https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk


-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: [twitter-dev] Posting/share a content from my site??

2011-07-03 Thread Muhammad Farid
thank you.. :)

On 7/3/11, Farid nethuge@gmail.com wrote:
 Hi..., I am new being twitter developer.., I want to share/post a
 content from my site to twitter, how I can do that?, or you can send
 me a link to twitter API documentation.

 Thanks. :)

 --
 Twitter developer documentation and resources: https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk



-- 
Thank you..
Muhammad Farid Wajdi

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


[twitter-dev] Temp Error - via Manage Domains

2011-07-03 Thread Michael Mikhjian
I'm trying to remove domains and I get Sorry, a temporary error
occurred.

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


RE: [twitter-dev] Twitter Authenication

2011-07-03 Thread Tatham Oddie
Hi,

You'll want OAuth.

Start here: http://dev.twitter.com/pages/auth_overview


-- Tatham

-Original Message-
From: twitter-development-talk@googlegroups.com 
[mailto:twitter-development-talk@googlegroups.com] On Behalf Of ken lee
Sent: Monday, 4 July 2011 6:02 AM
To: Twitter Development Talk
Subject: [twitter-dev] Twitter Authenication


Hello,

I am looking for a mod or a know-how to use their twitter account to sign in to 
my site.

Steps:
1. New user that has twitter account comes to my sign 2. Use Sign in with 
twitter button to authenticate.
3. Once it is authenticate through twitter, I want to have his twitter's 
username as the username on my site.  As long as it passes back the username, I 
can assign that username to the signup form on my site.

I've been googling google for the know-how, but with little luck.

Please advise.  Thanks!

--
Twitter developer documentation and resources: https://dev.twitter.com/doc API 
updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements 
Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: [twitter-dev] Authentication dilemma

2011-07-03 Thread Aldian Fazrihady
You can use/create a tool such as
http://getaccesstoken.aldianfazrihady.comto generate access token then
store it somewhere.
Your twitter API calls will use that offline access token.

Aldian

On Sun, Jul 3, 2011 at 6:48 AM, george george@gmail.com wrote:

 We have a website for internal use within our company. When a certain
 action occurs on the site, such as a survey being completed, we would
 like to have the app (our website) post a status update on our
 company's Twitter account. This process is supposed to be invisible to
 the user and cannot involve several steps (several requests being made
 by the browser).

 What is the proper authentication method for this? It used to be very
 easy with Basic Auth, but now I am confused. OAuth seems to be
 designed for Twitter user agents, which is not our case. The visitor
 of our website does not interact with Twitter in any way.

 Thanks,
 George

 --
 Twitter developer documentation and resources: https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk


-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


[twitter-dev] Streaming JSON and character encodings

2011-07-03 Thread CD
my twitter text is being delivered with a lt; whereas the tweet in
twitter displays the .  Is this supposed to be decoded by the JSON
parser?  Or do I need to run a HTMLDecode() on the text field myself?

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


[twitter-dev] Official Twitter Widget and rate limit

2011-07-03 Thread CD
I notice that there is an officially released twitter widget that ate
up my rate limit and caused my dev app to get rate limited.  I think
this widget is not cool and if enough people put this up on the
webpage everyone will end up getting rate limited.  Basically I don't
think I should get rate limited solely by visiting a webpage that
isn't even mine.

This is the widget:
http://widgets.twimg.com/j/2/widget.js

/**
 * Twitter - http://twitter.com
 * Copyright (C) 2010 Twitter
 * Author: Dustin Diaz (dus...@twitter.com)
 *
 * V 2.2.5 Twitter search/profile/faves/list widget
 * http://twitter.com/widgets
 * For full documented source see 
http://twitter.com/javascripts/widgets/widget.js
 * Hosting and modifications of the original source IS allowed.
 *

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: [twitter-dev] Authentication dilemma

2011-07-03 Thread kamesh SmartDude
Hai,



since u r the application creator and u don't want to access the data of the
others so u can try like the below,

once u created an application in twitter website u will get u r access token
and access secret also. with these u can access u r data and post it wall.

u directly these keys to post the data to u r twitter account.

//kamesh.

On Mon, Jul 4, 2011 at 6:35 AM, Aldian Fazrihady a...@aldian.net wrote:

 You can use/create a tool such as
 http://getaccesstoken.aldianfazrihady.com to generate access token then
 store it somewhere.
 Your twitter API calls will use that offline access token.

 Aldian

 On Sun, Jul 3, 2011 at 6:48 AM, george george@gmail.com wrote:

 We have a website for internal use within our company. When a certain
 action occurs on the site, such as a survey being completed, we would
 like to have the app (our website) post a status update on our
 company's Twitter account. This process is supposed to be invisible to
 the user and cannot involve several steps (several requests being made
 by the browser).

 What is the proper authentication method for this? It used to be very
 easy with Basic Auth, but now I am confused. OAuth seems to be
 designed for Twitter user agents, which is not our case. The visitor
 of our website does not interact with Twitter in any way.

 Thanks,
 George

 --
 Twitter developer documentation and resources:
 https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk


  --
 Twitter developer documentation and resources: https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk


-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


[twitter-dev] Re: GET direct_messages not works

2011-07-03 Thread Anbarasan K
Oh, Thanks. I will create new application.

But it worked well previous.

Now only it not works.

Did they change API permission level recently?

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


[twitter-dev] Re: Error 403 while getFollowers : Twitter Iphone MGTwitterEngine

2011-07-03 Thread Echo
Thanks Matt.

You are right. Friends/ids and users/lookup can take the place of
statuses/friends. However, it will spend two API remaining number and
two response time.
Maybe implementing statuses/friends with friends/ids and users/lookup
in Twitter API side will be better?

Best regards,
Echo


On 6月24日, 上午5时56分, Matt Harris thematthar...@twitter.com wrote:
 Hi Echo,

 We haven't announced an end of life date for these methods but we wanted to
 mark them as deprecated so help developers know they are not suitable
 anymore.

 We recommend moving to the friends/ids, followers/ids and users/lookup
 pattern at your next opportunity though.

 Best,
 @themattharris https://twitter.com/intent/follow?screen_name=themattharris
 Developer Advocate, Twitter

 2011/6/21 Echo liushuang...@gmail.com







  Thanks Bill.

  statuses/followers and statuses/friends are deprecated. Is there a
  timeline in twitter to announce when will the deprecated API be
  closed? I wonder the deadline since our app is depending them .
  Thanks!

  Echo

  On 6月14日, 下午8时04分, Bill Jacobson gabe...@gmail.com wrote:
   Amit,

   Your endpoint is obsolete and no longer supported by Twitter. That's why
   you got the 403. Statuses/followers will succeed if you change it
  tohttp://api.twitter.com/1/statuses/followers.xml
   https://api.twitter.com/1/statuses/followers.xml

   BUT this API is deprecated. Read all about it here:
 http://dev.twitter.com/doc/get/statuses/followers

   Bill

   On 06/14/2011 12:38 AM, Amit Battan Ror wrote:

Bill

Working fine :https://twitter.com/statuses/friends_timeline.xml

Not Working Giving 403 Error :
 https://twitter.com/statuses/followers.xml

On Jun 14, 10:14 am, Amit Battan Rorbatta...@gmail.com  wrote:
Thanks Bill

I will check and try to track URL ..

On Jun 13, 9:07 pm, Bill Jacobsongabe...@gmail.com  wrote:

Amit, also seehttp://
 www.mailinglistarchive.com/html/twitter-development-talk@googl
That's what helped me.
-Bill
On 06/13/2011 10:44 AM, Bill Jacobson wrote:
I'm suggesting that you find out what endpoint (Twitter URL) your
  app
is targeting, and make sure that it matches what is currently
documented. If it doesn't match, correct it. That's what worked for
  me.
On 06/13/2011 08:05 AM, Amit Battan Ror wrote:
I am not getting the solution.
and my API was working fine beofre 2 3 days..
but not now..
all other API except getFollowersIncludingCurrentStatus working ok
  and
return proper output
On Jun 13, 5:53 pm, Bill Jacobsongabe...@gmail.comwrote:
Amit,
I don't know your library, but in my case the 403 was accompanied
  by
the
message Not authorized to use this endpoint and the solution was
  to
update to http://api.twitter.com/1[etc.];.
Bill Jacobson
On 06/13/2011 05:39 AM, Amit Battan Ror wrote:
any idea guys
On Jun 10, 4:33 pm, Amit Battan Rorbatta...@gmail.com
   wrote:
Hi All
I am using
Twitter-OAuth-iPhonehttps://
  github.com/bengottlieb/Twitter-OAuth-iPhone
I am calling [twitterObj getFollowersIncludingCurrentStatus:NO]
  for
getting my friend list which was working fine. But from last two
  days
its giving me the 403 error.
-- Twitter Request FD751461-39C4-4EAB-A0F7-D1ED262B19EA failed
  with
error: Error Domain=HTTP Code=403 The operation couldn t be
completed. (HTTP error 403.)
As twitter api wiki 403 is due to crossing the limit of updates
and DM
but here in getFollowersIncludingCurrentStatus Why this error
occurring and even list is not comes next day giving same 403
  error.
Thanks
Amit Battan

  --
  Twitter developer documentation and resources:https://dev.twitter.com/doc
  API updates via Twitter:https://twitter.com/twitterapi
  Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
  Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk