Re: [twitter-dev] Twitter whitelisting question

2011-02-03 Thread Jan Paricka
So any luck with the whitelisting?

I'm too trying to get whitelisted for months!  Sending the whitelist
requests in but still no word from twitter.

This is the App I work on http://74.3.248.227/

Jan



On Thu, Feb 3, 2011 at 7:28 AM, Leon Meijer l...@lmeijer.nl wrote:

  Hi,

 Sorry for the communication problem (I don't have the right english words
 here sorry:P), but i'm not automating it ;) I only wrote a script which
 shows the user those people who are not following back, then the user can
 selecht (using a checkbox) who he/she wants to unfollow, I needed this
 function because someones script started to follow all my followers
 followers (which is also against the rulez and against what I wanted:P) so I
 had to create something to be able to unfollow a lot of people at once,
 except those who are following back, so no automation on this one ;)

 Sorry for the inconvenience.

 Regards,

 Leon

  --
 *From:* Jan Paricka [mailto:jpari...@gmail.com]
 *To:* twitter-development-talk@googlegroups.com
 *Sent:* Wed, 02 Feb 2011 14:39:01 +0100
 *Subject:* Re: [twitter-dev] Twitter whitelisting question

 Leon,

 A script that unfollow people who do not follow back is very much against
 the terms of use of the twitter API.  You cannot automate follow - unfolow.
   Great idea but it won't work with twitter.   :-((

 Jan

 On Wed, Feb 2, 2011 at 8:37 AM, Leon Meijer l...@lmeijer.nl wrote:

  Hi Jan,

 I'm having the same problem here, now I'm coding some script to unfollow
 people who do not follow back, for this I have to execute the users/show
 call to get the screen_name (pitty that /friends/ids and followers/ids
 doesn't return the user info...) and after 350 calls or so the rate limit is
 reached while the API documentation says that there is no rate limit (only 1
 call per request or something).

 So my questions are:
 - Where can I see the whitelist status?
 - Why is the users/show rate limited?

 Regards,

 Leon

  --
 *From:* jparicka [mailto:jpari...@gmail.com]
 *To:* Twitter Development Talk [mailto:
 twitter-development-talk@googlegroups.com]
 *Sent:* Fri, 28 Jan 2011 02:29:36 +0100
 *Subject:* [twitter-dev] Twitter whitelisting question


 Hi there,

 I'm trying to get my app whitelisted on twitter. For months.

 Is twitter still whitelisting at all? It's becoming sort of a road
 block for us...

 Thank you,

 Jan

 --
 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 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 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: abraham / twitteroauth

2011-02-03 Thread Archia
The reason my insert code was not inserting the client tokens in my database 
after returning from Twitter and allowing access to my application was that 
clearsessions.php was, of all things, clearing the session variables! I use 
a session variable to identify my client when they log into my site, and 
then use this to know which record in my database to insert the tokens in. 
So, I disabled the call to session_destroy() in clearsessions.php. Are there 
consequences to doing this that I need to know about, or is it OK?

-- 
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] Who is blocking the authenticated user API method

2011-02-03 Thread Leon Meijer
Hello Twitter and Developers,  
   
Is there an API call that shows a list of ID's of users who is blocking the 
authenticated user?  
   
Leon

-- 
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] Problems with direct message api

2011-02-03 Thread pl
Trying to do an app that can send private messages to a user, these
messages could be sent at any time and would be triggered by real-time
events that require a notification to be sent to a registered user.

Tried using the direct_message/new api and whilst that does send the
message, it appears to of been sent by the user that recieves it
rather than sent from the application.

Example sequence used to get this:

Registered user 1

Registered user 2

User 2 registered an application

User 1 signed up to that application, application now has auth token,
secret, user_id and screen_name of user 1.

At a later point, the application sends a private message to user 1
using the direct_message/new api

The message is recieved by user 1, but appears to be sent from user 1
not from the application that user 2 registered.


How can I make it so that the message shows as from the application?
These are private messages so should only be visible to the recipient.

-- 
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] Problems with direct message api

2011-02-03 Thread Taylor Singletary
Twitter's API doesn't really support the notion of an application having
agency to send direct messages on its own. Direct messages are between two
Twitter users.

If you want your application to have an identity, it'll need to be a Twitter
account also -- one that has approved your application. When you want your
application to send a direct message to the user, you use the access token
of your application's account.

The gotcha here is that the user who is receiving the direct message needs
to be following your application's user account. A common practice in this
case is to suggest through a UI that the user follows that account to
receive DMs. You must make the following aspect opt-in though.

Taylor


On Wed, Feb 2, 2011 at 10:39 PM, pl plot.l...@gmail.com wrote:

 Trying to do an app that can send private messages to a user, these
 messages could be sent at any time and would be triggered by real-time
 events that require a notification to be sent to a registered user.

 Tried using the direct_message/new api and whilst that does send the
 message, it appears to of been sent by the user that recieves it
 rather than sent from the application.

 Example sequence used to get this:

 Registered user 1

 Registered user 2

 User 2 registered an application

 User 1 signed up to that application, application now has auth token,
 secret, user_id and screen_name of user 1.

 At a later point, the application sends a private message to user 1
 using the direct_message/new api

 The message is recieved by user 1, but appears to be sent from user 1
 not from the application that user 2 registered.


 How can I make it so that the message shows as from the application?
 These are private messages so should only be visible to the recipient.

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

2011-02-03 Thread Shiva
How to judge, the tweet message is retweetable or not using twitter4j
API.

Shiva
Thanks in advance

-- 
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 Button sending count.json request, even if it's not required

2011-02-03 Thread Thomas Peklak
I'm using the Tweet Button from http://twitter.com/goodies/tweetbutton
Code:
a href=http://twitter.com/share; class=twitter-share-button 
data-count=noneTweet/ascript type=text/javascript 
src=http://platform.twitter.com/widgets.js;/script

Even though I do not display the Tweet count, there is still sent a request 
to twitter for the count.json. This is rather useless in my opinion and only 
produces traffic. The problem here is that the count.json seems to delay the 
onload event of the page, which is rather bad in my opinion. Some times the 
count.json response is pretty fast but other times the response can be 
around 400ms and this is not really acceptable.

Is this the right place to post this issue? I did not find another way to 
contact twitter directly.

thomas

-- 
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] improve twitter

2011-02-03 Thread Andrea Messina
Hi.
i wonder, if someone is thinking about to add activitystrea.ms support
to twitter feed. And why not, the support (you have to add just a link
into the feed) for pubsubhubbubof course for the PUBLIC
user_timeline.

PS:
I suppose it would be stupid if i asked you about ostatus...but this
is my little secret wish.

Thanks for your willingness.
Best regards.

-- 
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] localhost testing of Oauth

2011-02-03 Thread Ashim
Dear All,

I wish to try Oauth on Mediawiki. Now I have media wiki installed on
my localhost. When I goto https://twitter.com/oauth_clients/new

and register my app at my localhost it says invalid url.

My question is : Can localhost apps be registered with Twitter on that
page ? If not how do I test ?

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] Question regarding ip based rate limiting

2011-02-03 Thread Gautam Mr
Hi,

I have a question regarding ip based rate limiting. As per documentation all
those api that does not require authentication falls under ip based limit
which is 150.

Is there a way to find what is the remaining number of hits available while
making an api call (that does not require authentication)? Also is there a
way to find out what is the next reset time.
There are option available to find these limits while doing home timeline
query or user timeline queries (apis that needs authentication). But could
not find anything while doing a lookup on a status using
http://dev.twitter.com/doc/get/statuses/show/:id.

Would appreciate your help.

Thanks
Gautam

-- 
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: Question regarding ip based rate limiting

2011-02-03 Thread Gautam Mr
Its my bad. Found it.

BTW, if I use user authentication to call showStatus it uses Users rate
limit.
And if I don't use authentication it uses from ip limit.

But as per documentation
http://dev.twitter.com/pages/rate-limiting#restit should be using
from ip limit. Anyone else is aware of this?

Thanks
Gautam

On Thu, Feb 3, 2011 at 5:42 PM, Gautam Mr mrgautam...@gmail.com wrote:

 Hi,

 I have a question regarding ip based rate limiting. As per documentation
 all those api that does not require authentication falls under ip based
 limit which is 150.

 Is there a way to find what is the remaining number of hits available while
 making an api call (that does not require authentication)? Also is there a
 way to find out what is the next reset time.
 There are option available to find these limits while doing home timeline
 query or user timeline queries (apis that needs authentication). But could
 not find anything while doing a lookup on a status using
 http://dev.twitter.com/doc/get/statuses/show/:id.

 Would appreciate your help.

 Thanks
 Gautam


-- 
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: Question regarding ip based rate limiting

2011-02-03 Thread Taylor Singletary
In the past there were mixed conditions on whether you'd be evaluated under
IP-based limits when a method wasn't expecting authentication (yet was being
presented with it). These were bugs and it took us awhile to fix them.

Passing authentication to the API is saying I'm doing this on behalf of a
user and thus it will be considered under a user's rate limit. Our docs
right now don't have the best wiggle room in delineating the difference
between requiring auth and supporting auth -- most Twitter API resources
support auth, even if they don't require them.

The only reliable way to be considered under an IP-based limit is to make a
request without any kind of authentication. So if there's a specific mix of
rate limiting scenarios you're trying to navigate, just be explicit about
using auth or not.

Taylor


On Thu, Feb 3, 2011 at 6:18 AM, Gautam Mr mrgautam...@gmail.com wrote:

 Its my bad. Found it.

 BTW, if I use user authentication to call showStatus it uses Users rate
 limit.
 And if I don't use authentication it uses from ip limit.

 But as per documentation http://dev.twitter.com/pages/rate-limiting#restit 
 should be using from ip limit. Anyone else is aware of this?

 Thanks
 Gautam


 On Thu, Feb 3, 2011 at 5:42 PM, Gautam Mr mrgautam...@gmail.com wrote:

 Hi,

 I have a question regarding ip based rate limiting. As per documentation
 all those api that does not require authentication falls under ip based
 limit which is 150.

 Is there a way to find what is the remaining number of hits available
 while making an api call (that does not require authentication)? Also is
 there a way to find out what is the next reset time.
 There are option available to find these limits while doing home timeline
 query or user timeline queries (apis that needs authentication). But could
 not find anything while doing a lookup on a status using
 http://dev.twitter.com/doc/get/statuses/show/:id.

 Would appreciate your help.

 Thanks
 Gautam


  --
 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] Who is blocking the authenticated user API method

2011-02-03 Thread Taylor Singletary
No, this information is private to the user who blocked the authenticated
user.

Taylor

On Thu, Feb 3, 2011 at 3:08 AM, Leon Meijer l...@lmeijer.nl wrote:

  Hello Twitter and Developers,

 Is there an API call that shows a list of ID's of users who is blocking the
 authenticated user?

 Leon

 --
 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] OAuth Token expires or no?

2011-02-03 Thread Lab Tech
I am developing an auto post app and last night it worked perfectly,
this morning however I am getting a 401 Could not authenticate you.
error on both my app and the test file from the library
https://github.com/abraham/twitteroauth. The test file is unchanged
and worked perfectly last night.

I am storing both token and secret in a db as suggested.

I was under the impression OAuth Tokens and OAuth Token Secrets did
not expire. Was I wrong in that thinking?

-- 
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] OAuth Token expires or no?

2011-02-03 Thread Scott Wilcox
Correct, tokens don't expire. If you're getting that, either your calls are 
being sent incorrect or permission has been revoked.

Scott.

On 3 Feb 2011, at 17:32, Lab Tech wrote:

 I am developing an auto post app and last night it worked perfectly,
 this morning however I am getting a 401 Could not authenticate you.
 error on both my app and the test file from the library
 https://github.com/abraham/twitteroauth. The test file is unchanged
 and worked perfectly last night.
 
 I am storing both token and secret in a db as suggested.
 
 I was under the impression OAuth Tokens and OAuth Token Secrets did
 not expire. Was I wrong in that thinking?

-- 
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] OAuth Token expires or no?

2011-02-03 Thread Jan Paricka
Tokens do not expire.

Jan

On Thu, Feb 3, 2011 at 6:32 PM, Lab Tech lab_t...@queerchemistry.comwrote:

 I am developing an auto post app and last night it worked perfectly,
 this morning however I am getting a 401 Could not authenticate you.
 error on both my app and the test file from the library
 https://github.com/abraham/twitteroauth. The test file is unchanged
 and worked perfectly last night.

 I am storing both token and secret in a db as suggested.

 I was under the impression OAuth Tokens and OAuth Token Secrets did
 not expire. Was I wrong in that thinking?

 --
 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: OAuth Token expires or no?

2011-02-03 Thread Lab Tech
hmm Permission had not been revoked and the test file was original, I
even downloaded a new one from Abraham's library, same thing Could
not Authenticate.

any other ideas?

On Feb 3, 12:52 pm, Scott Wilcox sc...@dor.ky wrote:
 Correct, tokens don't expire. If you're getting that, either your calls are 
 being sent incorrect or permission has been revoked.

 Scott.

 On 3 Feb 2011, at 17:32, Lab Tech wrote:

  I am developing an auto post app and last night it worked perfectly,
  this morning however I am getting a 401 Could not authenticate you.
  error on both my app and the test file from the library
 https://github.com/abraham/twitteroauth. The test file is unchanged
  and worked perfectly last night.

  I am storing both token and secret in a db as suggested.

  I was under the impression OAuth Tokens and OAuth Token Secrets did
  not expire. Was I wrong in that thinking?

-- 
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] Setting custom Callback URL

2011-02-03 Thread giovani kun
 Hi Taylor,

   That worked Thank you



On Wed, Feb 2, 2011 at 5:18 PM, Taylor Singletary 
taylorsinglet...@twitter.com wrote:

 Hi Giovani,

 We're working on making this UI and configuration quirk more navigable.

 You should set your application to a browser/web app, and use a placeholder
 URL (perhaps to your company's website) for your Callback URL.

 Then, when performing the oauth/request_token step, provide the custom URI
 scheme oauth_callback parameter that is relevant for you -- this will take
 precedence.

 In many ways, setting an app to desktop acts as a lock for certain kinds
 of applications, preventing their keys from being used outside of an
 out-of-band use case.

 Taylor

 On Wed, Feb 2, 2011 at 3:14 AM, giovani calota giovani@gmail.comwrote:

 Hi ,

 I'm having a problem setting a custom callback URL from my end. My URL
 is something that twitter can't reach so I need to provide one from my
 code. I've looked at all the examples but something is not right I'm
 missing something , plus I have not seen an example similar to what I
 am doing for example :

  Pass oauth_callback={$url} when you get your request_token. Along
 with the request token will be oauth_callback_confirmed=true. 

 Well I can't do the above. but what I can do is this :

 public TwitterAccess() {

   twitter = new Twitter();

   twitter.setOAuthConsumer(consumer_key,consumer_secret);

try {
requestToken =
 twitter.getOAuthRequestToken(callbackUrl);

} catch (TwitterException e) {

 But oops it's not working got the following error :

 twitter4j.TwitterException: 401:Authentication credentials were
 missing or incorrect.
 ?xml version=1.0 encoding=UTF-8?
 hash
 request/oauth/request_token/request
 errorDesktop applications only support the oauth_callback value
 'oob'/error
 /hash

 Ok I've done some reading on this but what I do not understand is if
 put the value for oauth_callback = 'oob' how does Twitter know where
 to redirect me so this is wrong !! :

 You application looks to be registered as an Desktop application
 which
 doesn't accept callback url.
 Try registering another application as a Browser application and get
 another
 token pair

 What does this mean does Desktop App mean Client App ? when I've
 created my application I could not define the callback URL because
 it's a location that twitter can't reach through the web. Even dough
 I've clicked on Browser Application after clicking Edit button you can
 see that the value has been changed from Browser App to an Client
 App !!

  Please, let me know what am I missing.

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




-- 
 warui hito

-- 
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: Media Partnerships and Oembed for Twitter's Detail Panel

2011-02-03 Thread Ashley Sarver
With the plugin, this is only visible by people who enable the plugin?
We're looking to open it for the entire site, so that whenever anyone
tweets a grooveshark song, the media will show up in the details
panel.

On Feb 2, 7:49 am, Ken D. k...@cimas.ch wrote:
 I just re-enabled the Parrotfish plugin and it's pretty amazing. It's
 pulling content from my own website and from just about any URL
 mentioned in a Tweet. Goes way beyond the advertised performance.

 On Feb 2, 1:26 pm, Tom van der Woerdt i...@tvdw.eu wrote:







  Some Twitter applications (including my own) use embed.ly to display
  content.

  Tom

  On 2/2/11 1:25 PM, Ken D. wrote:

   Ashley,

   While waiting for native support from Twitter, have you checked out
   the embed.ly Parrotfish plugin (http://labs.embed.ly/) ?

   Grooveshark is one of 160-plus OEmbed-compliant media partners
   supported by the plugin. Tweets bearing supported URLs are marked in
   the timeline and yes, you'll see Grooveshark content in your Twitter
   right pane.

   Don't know how many people are using it.

   Ken

   On Feb 1, 9:38 pm, Ashley Sarverasarv...@gmail.com  wrote:
   The purpose of this is to find out a way to use twitter's oembed for
   listen.grooveshark.com links, and embed the media player of a specific
   song when the link is posted. How long does requesting permission for
   a media partnership take, and has anyone had problems requesting a
   partnership? Has anyone atempted to use oembed on twitter, or began
   working with oembed?

-- 
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: Numeric JSON Error code

2011-02-03 Thread p5ic05i5
Anyone??

On Jan 31, 11:28 am, MigueL DíaZ tiomig...@gmail.com wrote:
 Hi all!

 I'm currently developing a C language application that provides full twitter
 access to users from command line.
 Everything goes fine except for error handling, as my users are not very
 good english speakers...

 Json Error structures are of the form:

         request: /1/users/show.json?screen_name=jfnsdjvnd
         error: Not found

 And the errors I've captured so far are:

         Not found
         Status is a duplicate.
         Status is over 140 characters.
         You cannot send messages to users who are not following you.

 My questions are:

 - Literally searching for those texts in error responses, is reliable?
 - Are they likely to change in the future without an announcement to this
 list?
 - If so... How possible is to add an extra field that contains a numeric
 error code that is reliable?

 I think this may benefit not just me, but all multi-language application
 implementers, by providing a simple way to tell one error from another...

 Thanks for your attention, hope a nice discussion on the subject may start
 on this thread.

 Best regards,
 Miguel.

-- 
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: Media Partnerships and Oembed for Twitter's Detail Panel

2011-02-03 Thread Tom van der Woerdt

That is correct. It will only show for users who have the plugin.

Tom


On 2/3/11 9:39 PM, Ashley Sarver wrote:

With the plugin, this is only visible by people who enable the plugin?
We're looking to open it for the entire site, so that whenever anyone
tweets a grooveshark song, the media will show up in the details
panel.

On Feb 2, 7:49 am, Ken D.k...@cimas.ch  wrote:

I just re-enabled the Parrotfish plugin and it's pretty amazing. It's
pulling content from my own website and from just about any URL
mentioned in a Tweet. Goes way beyond the advertised performance.

On Feb 2, 1:26 pm, Tom van der Woerdti...@tvdw.eu  wrote:








Some Twitter applications (including my own) use embed.ly to display
content.



Tom



On 2/2/11 1:25 PM, Ken D. wrote:



Ashley,



While waiting for native support from Twitter, have you checked out
the embed.ly Parrotfish plugin (http://labs.embed.ly/) ?



Grooveshark is one of 160-plus OEmbed-compliant media partners
supported by the plugin. Tweets bearing supported URLs are marked in
the timeline and yes, you'll see Grooveshark content in your Twitter
right pane.



Don't know how many people are using it.



Ken



On Feb 1, 9:38 pm, Ashley Sarverasarv...@gmail.comwrote:

The purpose of this is to find out a way to use twitter's oembed for
listen.grooveshark.com links, and embed the media player of a specific
song when the link is posted. How long does requesting permission for
a media partnership take, and has anyone had problems requesting a
partnership? Has anyone atempted to use oembed on twitter, or began
working with oembed?




--
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: Media Partnerships and Oembed for Twitter's Detail Panel

2011-02-03 Thread Ashley Sarver
Is there any way we would be able to open that up to everyone on
twitter? Or do I just have to wait until Twitter decides to re-open
back up media partnerships?

On Feb 3, 3:40 pm, Tom van der Woerdt i...@tvdw.eu wrote:
 That is correct. It will only show for users who have the plugin.

 Tom

 On 2/3/11 9:39 PM, Ashley Sarver wrote:







  With the plugin, this is only visible by people who enable the plugin?
  We're looking to open it for the entire site, so that whenever anyone
  tweets a grooveshark song, the media will show up in the details
  panel.

  On Feb 2, 7:49 am, Ken D.k...@cimas.ch  wrote:
  I just re-enabled the Parrotfish plugin and it's pretty amazing. It's
  pulling content from my own website and from just about any URL
  mentioned in a Tweet. Goes way beyond the advertised performance.

  On Feb 2, 1:26 pm, Tom van der Woerdti...@tvdw.eu  wrote:

  Some Twitter applications (including my own) use embed.ly to display
  content.

  Tom

  On 2/2/11 1:25 PM, Ken D. wrote:

  Ashley,

  While waiting for native support from Twitter, have you checked out
  the embed.ly Parrotfish plugin (http://labs.embed.ly/) ?

  Grooveshark is one of 160-plus OEmbed-compliant media partners
  supported by the plugin. Tweets bearing supported URLs are marked in
  the timeline and yes, you'll see Grooveshark content in your Twitter
  right pane.

  Don't know how many people are using it.

  Ken

  On Feb 1, 9:38 pm, Ashley Sarverasarv...@gmail.com    wrote:
  The purpose of this is to find out a way to use twitter's oembed for
  listen.grooveshark.com links, and embed the media player of a specific
  song when the link is posted. How long does requesting permission for
  a media partnership take, and has anyone had problems requesting a
  partnership? Has anyone atempted to use oembed on twitter, or began
  working with oembed?

-- 
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: Media Partnerships and Oembed for Twitter's Detail Panel

2011-02-03 Thread Tom van der Woerdt
You cannot just embed your content into Twitter without having a content 
partnership with them. Without using addons, that is.


Tom


On 2/3/11 10:08 PM, Ashley Sarver wrote:

Is there any way we would be able to open that up to everyone on
twitter? Or do I just have to wait until Twitter decides to re-open
back up media partnerships?

On Feb 3, 3:40 pm, Tom van der Woerdti...@tvdw.eu  wrote:

That is correct. It will only show for users who have the plugin.

Tom

On 2/3/11 9:39 PM, Ashley Sarver wrote:








With the plugin, this is only visible by people who enable the plugin?
We're looking to open it for the entire site, so that whenever anyone
tweets a grooveshark song, the media will show up in the details
panel.



On Feb 2, 7:49 am, Ken D.k...@cimas.chwrote:

I just re-enabled the Parrotfish plugin and it's pretty amazing. It's
pulling content from my own website and from just about any URL
mentioned in a Tweet. Goes way beyond the advertised performance.



On Feb 2, 1:26 pm, Tom van der Woerdti...@tvdw.euwrote:



Some Twitter applications (including my own) use embed.ly to display
content.



Tom



On 2/2/11 1:25 PM, Ken D. wrote:



Ashley,



While waiting for native support from Twitter, have you checked out
the embed.ly Parrotfish plugin (http://labs.embed.ly/) ?



Grooveshark is one of 160-plus OEmbed-compliant media partners
supported by the plugin. Tweets bearing supported URLs are marked in
the timeline and yes, you'll see Grooveshark content in your Twitter
right pane.



Don't know how many people are using it.



Ken



On Feb 1, 9:38 pm, Ashley Sarverasarv...@gmail.com  wrote:

The purpose of this is to find out a way to use twitter's oembed for
listen.grooveshark.com links, and embed the media player of a specific
song when the link is posted. How long does requesting permission for
a media partnership take, and has anyone had problems requesting a
partnership? Has anyone atempted to use oembed on twitter, or began
working with oembed?




--
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: OAuth Token expires or no?

2011-02-03 Thread Scott Wilcox
Check the time on the machine you're using is accurate.

On 3 Feb 2011, at 19:00, Lab Tech wrote:

 hmm Permission had not been revoked and the test file was original, I
 even downloaded a new one from Abraham's library, same thing Could
 not Authenticate.
 
 any other ideas?
 
 On Feb 3, 12:52 pm, Scott Wilcox sc...@dor.ky wrote:
 Correct, tokens don't expire. If you're getting that, either your calls are 
 being sent incorrect or permission has been revoked.
 
 On 3 Feb 2011, at 17:32, Lab Tech wrote:
 
 I am developing an auto post app and last night it worked perfectly,
 this morning however I am getting a 401 Could not authenticate you.
 error on both my app and the test file from the library
 https://github.com/abraham/twitteroauth. The test file is unchanged
 and worked perfectly last night.
 
 I am storing both token and secret in a db as suggested.
 
 I was under the impression OAuth Tokens and OAuth Token Secrets did
 not expire. Was I wrong in that thinking?

-- 
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: Error with Twitter Oauth (Abraham)

2011-02-03 Thread networkvb
I used another code, easier, and it's Ok. thanks.

On 2 fév, 19:25, Abraham Williams 4bra...@gmail.com wrote:
 Check to make sure that your servers clock is properly synced. It is common
 for clocks to drift some and cause requests to fail.

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

 On Wed, Feb 2, 2011 at 07:32, networkvb networ...@gmail.com wrote:
  I have this error when I install it :  Failed to validate oauth
  signature and token  Could not connect to Twitter. Refresh the page
  or try again later. I don't understand, because the code had been Ok
  before.

  The page is here :http://www.networkvb.com/twitter/

  The file connect.php is Ok, the file redirect is out.

  Thank you for your help,

  Vincent.

  --
  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] Can I export someone's friends

2011-02-03 Thread Fikret
Hi,

I would like to ask a question:
Can I export someone's friends' name/user_id to a file?

if I can how?
if I cant why?

Thank you so much.

-- 
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: OAuth Token expires or no?

2011-02-03 Thread Lab Tech
Time is accurate, reauthenticated and it worked all afternoon, took a
break and I am back to the same error again. Could not
Authenticate... Very frustrating!

If anyone is familiar with Abrahams library and wouldn't mind takeing
a look I would gladly send the files over surely a second pair of eyes
can't hurt at this point.

On Feb 3, 4:49 pm, Scott Wilcox sc...@dor.ky wrote:
 Check the time on the machine you're using is accurate.

 On 3 Feb 2011, at 19:00, Lab Tech wrote:

  hmm Permission had not been revoked and the test file was original, I
  even downloaded a new one from Abraham's library, same thing Could
  not Authenticate.

  any other ideas?

  On Feb 3, 12:52 pm, Scott Wilcox sc...@dor.ky wrote:
  Correct, tokens don't expire. If you're getting that, either your calls 
  are being sent incorrect or permission has been revoked.

  On 3 Feb 2011, at 17:32, Lab Tech wrote:

  I am developing an auto post app and last night it worked perfectly,
  this morning however I am getting a 401 Could not authenticate you.
  error on both my app and the test file from the library
 https://github.com/abraham/twitteroauth. The test file is unchanged
  and worked perfectly last night.

  I am storing both token and secret in a db as suggested.

  I was under the impression OAuth Tokens and OAuth Token Secrets did
  not expire. Was I wrong in that thinking?

-- 
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: OAuth Token expires or no?

2011-02-03 Thread Abraham Williams
Make sure you are actually save the access token in the db and using those
values for your requests. It sounds almost like they access token is being
pulled from a session which expires after a while.

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



On Thu, Feb 3, 2011 at 16:09, Lab Tech lab_t...@queerchemistry.com wrote:

 Time is accurate, reauthenticated and it worked all afternoon, took a
 break and I am back to the same error again. Could not
 Authenticate... Very frustrating!

 If anyone is familiar with Abrahams library and wouldn't mind takeing
 a look I would gladly send the files over surely a second pair of eyes
 can't hurt at this point.

 On Feb 3, 4:49 pm, Scott Wilcox sc...@dor.ky wrote:
  Check the time on the machine you're using is accurate.
 
  On 3 Feb 2011, at 19:00, Lab Tech wrote:
 
   hmm Permission had not been revoked and the test file was original, I
   even downloaded a new one from Abraham's library, same thing Could
   not Authenticate.
 
   any other ideas?
 
   On Feb 3, 12:52 pm, Scott Wilcox sc...@dor.ky wrote:
   Correct, tokens don't expire. If you're getting that, either your
 calls are being sent incorrect or permission has been revoked.
 
   On 3 Feb 2011, at 17:32, Lab Tech wrote:
 
   I am developing an auto post app and last night it worked perfectly,
   this morning however I am getting a 401 Could not authenticate you.
   error on both my app and the test file from the library
  https://github.com/abraham/twitteroauth. The test file is unchanged
   and worked perfectly last night.
 
   I am storing both token and secret in a db as suggested.
 
   I was under the impression OAuth Tokens and OAuth Token Secrets did
   not expire. Was I wrong in that thinking?

 --
 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: OAuth Token expires or no?

2011-02-03 Thread Lab Tech
Disregard, I am an idiot. I removed the portion that made the script
rely on sessions and forgot add the query to get the tokens out of the
DB...

On Feb 3, 4:49 pm, Scott Wilcox sc...@dor.ky wrote:
 Check the time on the machine you're using is accurate.

 On 3 Feb 2011, at 19:00, Lab Tech wrote:

  hmm Permission had not been revoked and the test file was original, I
  even downloaded a new one from Abraham's library, same thing Could
  not Authenticate.

  any other ideas?

  On Feb 3, 12:52 pm, Scott Wilcox sc...@dor.ky wrote:
  Correct, tokens don't expire. If you're getting that, either your calls 
  are being sent incorrect or permission has been revoked.

  On 3 Feb 2011, at 17:32, Lab Tech wrote:

  I am developing an auto post app and last night it worked perfectly,
  this morning however I am getting a 401 Could not authenticate you.
  error on both my app and the test file from the library
 https://github.com/abraham/twitteroauth. The test file is unchanged
  and worked perfectly last night.

  I am storing both token and secret in a db as suggested.

  I was under the impression OAuth Tokens and OAuth Token Secrets did
  not expire. Was I wrong in that thinking?

-- 
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: localhost testing of Oauth

2011-02-03 Thread Patrick Kennedy

Yes, you can do this with epiTwitter (php) or twitter (ruby) gem, etc,
etc, to do that.  Once you develop the code via localhost, you then
set it up on the Internet with your code to authorize with twitter,
exchanging request tokens for access tokens, if you want different
users to use your program, saving their tokens to session variables or
a database for further calls.

You need to initialize your given library's oauth object with consumer
key, consumer secret, and access token and access secret.

Recently, for example, I was trying to figure out how to do a
localhost setup with ruby twitter_oauth, but I couldn't figure it
out.  But I did get it working with the twitter ruby gem instead.  I
guess I will just use that gem instead of twitter_oauth gem.

~Patrick


On Feb 3, 3:57 am, Ashim ashimkap...@gmail.com wrote:
 Dear All,

 I wish to try Oauth on Mediawiki. Now I have media wiki installed on
 my localhost. When I gotohttps://twitter.com/oauth_clients/new

 and register my app at my localhost it says invalid url.

 My question is : Can localhost apps be registered with Twitter on that
 page ? If not how do I test ?

 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] Streaming API stopwords

2011-02-03 Thread Kenny Buckler
Hello!

Does anyone have experience using a list of stopwords to reduce noise
when making streaming API requests to statuses/filter? I have a basic
list (e.g. a,an, and, etc.) but wonder if anyone out there is
using something more comprehensive.

Thanks,

Kenny

-- 
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] High number of 502 errors in REST API

2011-02-03 Thread Adam Green
I'm using 1/statuses/user_timeline to verify that I am receiving all
the tweets for a set of users I am following with the streaming API.
Once per day I try to collect all the tweets for these users using
this API call. The total process takes about 100 calls to the API. For
the last week I have been receiving a very high level of 502 error
responses, about 1 for every 2 to 3 calls. Is this just due to very
high traffic related to Egypt, or is something else going on?

-- 
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] High number of 502 errors in REST API

2011-02-03 Thread Jan Paricka
Adam, I noticed the same - 502 502 502 502 a lot lately!

Jan

On Fri, Feb 4, 2011 at 5:14 AM, Adam Green 140...@gmail.com wrote:

 I'm using 1/statuses/user_timeline to verify that I am receiving all
 the tweets for a set of users I am following with the streaming API.
 Once per day I try to collect all the tweets for these users using
 this API call. The total process takes about 100 calls to the API. For
 the last week I have been receiving a very high level of 502 error
 responses, about 1 for every 2 to 3 calls. Is this just due to very
 high traffic related to Egypt, or is something else going on?

 --
 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] High number of 502 errors in REST API

2011-02-03 Thread Taylor Singletary
What kind of count values are you using? When we're at capacity,
higher count values' processing time can exceed our timeout filters. I
would recommend lowering count values as a response to this error and
retrying.

Taylor

On Thursday, February 3, 2011, Jan Paricka jpari...@gmail.com wrote:
 Adam, I noticed the same - 502 502 502 502 a lot lately!
 Jan

 On Fri, Feb 4, 2011 at 5:14 AM, Adam Green 140...@gmail.com wrote:
 I'm using 1/statuses/user_timeline to verify that I am receiving all
 the tweets for a set of users I am following with the streaming API.
 Once per day I try to collect all the tweets for these users using
 this API call. The total process takes about 100 calls to the API. For
 the last week I have been receiving a very high level of 502 error
 responses, about 1 for every 2 to 3 calls. Is this just due to very
 high traffic related to Egypt, or is something else going on?

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


-- 
@episod http://twitter.com/episod - Taylor Singletary - Twitter Developer
Advocate

-- 
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: Problems with direct message api

2011-02-03 Thread pl
Ah, that's a bit annoying...

I would of though that an application being able to send notifications
to a user was a fairly common requirment.

Thanks for the advice.


On Feb 3, 6:48 pm, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 Twitter's API doesn't really support the notion of an application having
 agency to send direct messages on its own. Direct messages are between two
 Twitter users.

 If you want your application to have an identity, it'll need to be a Twitter
 account also -- one that has approved your application. When you want your
 application to send a direct message to the user, you use the access token
 of your application's account.

 The gotcha here is that the user who is receiving the direct message needs
 to be following your application's user account. A common practice in this
 case is to suggest through a UI that the user follows that account to
 receive DMs. You must make the following aspect opt-in though.

 Taylor



-- 
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] Questions about friendship/create

2011-02-03 Thread pl
Can someone descripe what the 'follow' options is actually used for -
it's described as 'Enable notifications for the target user' but I'm
not sure what that actually means.

If I don't include this param, then the friendship gets created, and
seems to work as expected. What am I missing but not putting this in?

I'm also not using the 'include_entities' param. That says that these
will be made a default component of output in the future, so should I
just add them in now so that nothing changes when this is made the
default (I've no idea how long this 'in the future' message has been
there as I've only just started looking at this - could this future
they speak of still be a very long way off...)

What would be the values to set this to in order to exactly mirror the
actions taken by clicking on the 'follow' button within twitter.
Should they both be missing, both set, or some other combination?

Thanks in advance for any hints on this.

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