[twitter-dev] Re: Tweet button and iphone

2011-07-10 Thread anaj...@ibs.com.jo
Ah, you've found a bug. Thanks! I'll fix that. The cancel button there should 
behave the same way as cancel buttons elsewhere (e.g. in the after-Tweet 
screen) and redirect to the original referrer.

If you fix this issue then all my issues with tweet button will be
solved and I will be able to keep it in all of our projects,please
tell me when you can fix it? it's very urgent!! Our management want a
decision if we can add tweet button in all of our projects without any
issues with the web container.


Unfortunatly `window.opener` isn't available in our web
container,instead it will open in the same window of the original
page,and what's worse is that it's a native web container programmed
in XCODE and it's built as a generic web container to work with any
website,so it's impossible to make any changes on the web container,I
need to fix the issue either from my side on my pages or your side by
fixing the issue of the cancel button,as I can see it's easier to be
fixed from your side.

I will be waiting for your response ^^ ,thanks again Seth

On Jul 8, 1:17 am, Ben Ward benw...@twitter.com wrote:
 Hi Anajjar,

 On Jul 7, 2011, at 6:28 AM, anaj...@ibs.com.jo wrote:

  the login page will appear and you can see the cancel button,click on 
  cancel button,now it should return the user back to that link and as you 
  can see the link has a querystring original_referer with the original url 
  so the cancel button SHOULD return back to that url,but you will notice 
  that it doesn't return the user back to that page and instead it redirects 
  to twitter homepage

 Ah, you've found a bug. Thanks! I'll fix that. The cancel button there should 
 behave the same way as cancel buttons elsewhere (e.g. in the after-Tweet 
 screen) and redirect to the original referrer.

 On Jul 2, 2011, anaj...@ibs.com.jo wrote:

  In Safari I don't have any issues,but I do have issues with tweet
  button within the container,once the login window of twitter appears
  and user clicks on cancel it doesn't return the user back to my
  page,instead it redirects the user to twitter homepage,Is there any
  solution for this?

 For what it's worth, this is the full cascade of behaviours that Cancel 
 buttons have within Web Intents:

 1. If the intent is a pop-up window (e.g. if `window.opener` is available) 
 then clicking a cancel button will close the window. On desktop, this closes 
 the window as you'd expect. On mobile platforms such as the iPhone, this 
 closes the page and flips the user back to the page that invoked the Intent.

 2. If `window.opener` isn't available, then the page is assumed to have been 
 navigated to conventionally. In this case, the destination of cancel links is 
 (or should be) set with the following priority:

 2a. To the original_referrer, if available and valid.
 2b. If original_referrer is not set, or if the original_referrer is an 
 invalid URL, or that URL falls foul of our known-malware-URL filter, then the 
 cancel buttons will simply point to twitter.com.

 Finally, note that if you “pop up” an intent within a WebView in a native 
 app, that does not set `window.opener`, so the page will believe it's been 
 invoked directly in a browser (because it has.) If you want to handle the 
 close event, you'll need to watch the source URLs.

 If it's possible to create a WebView on your platform of choice, and set a 
 default window.opener *and* override window.close() with a call to native 
 ‘close the WebView’ code, then you may be able invoke the Intent in a WebView 
 and have all the autoclose behaviour from the web work. I've never tried this 
 though.

 Ben
 --
 @benward
 Twitter, Web Intents developer

-- 
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: Twitter Live Data Public Streaming ...

2011-07-10 Thread Mohan Arun
 I am developing emotion based Sentiment Analysis for Twitter data. I
 am interested in applying for sentiments for live tweets dynamically
 from Twitter. I am looking on API to get the live public data from
 Twitter to my application. How can I proceed with this API to get
 public tweets.


You might want to take a look at this:
http://jeffreybreen.wordpress.com/2011/07/04/twitter-text-mining-r-slides/
Mining Twitter for consumer attitudes towards airlines (using R) –
(a) “search twitter in 1 line of code”;
(b) Estimate sentiment from ‘opinion lexicon’ (how to analyze
sarcasm);
(c) score/compare/ rinse/repeat

- Mohan

-- 
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] My TwitterJavaClient Opens Browser Window to Authenticate, WHY?

2011-07-10 Thread Harrier_II
When I run my Java Twitter Client in Netbeans7 it opens a browser window  
and I get the twitter allow app to access my profile.
It then generates a number that I have to type into the Java commandline to 
allow my Java app to show my icon and latest status.
Is this OOB authentication?
I am new to all this stuff, can some one point me in the right direction as 
to what I should be doing.
Ideally I want the user to login via my java app, is this possible?

cheers
Kevin

-- 
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: Open DM availability only for Verified Accounts?

2011-07-10 Thread Chris Teso
Bump.

We'd love to be verified at http://sellsimp.ly as we have core
functionality that relys on DMs. If users could Dm without us
following it would be of great assistance.

Thanks,
Chris

On Jul 5, 8:39 am, Ryan craft.r...@gmail.com wrote:
 Searched this forum and found nothing, but apparently you guys are rolling
 out a new feature for Verified accounts to be able to receive DM's without
 having to follow back each user.

 See:http://thenextweb.com/twitter/2011/07/04/twitter-drops-following-requ...

 This leads to multiple questions:

 1) Is it possible for regular small businesses to gain verified status? Or
 is this just limited to mega brands/businesses?  Obviously this feature
 would be very helpful to more than just the select few verified business
 accounts.

 2) Why not let any user apply this feature in their settings panel? If
 worried about DM spam, I don't really see the downside as they would only be
 inflicting spam on themselves. Any chance of this happening?

 3) Can verified users turn this off if its not desirable for their specific
 situation?  

 Thanks,
 Ryan

-- 
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: Twitter Live Data Public Streaming ...

2011-07-10 Thread Vishal Telangre
This tut using py library to fetch public timeline tweets by using
twitter api might help you out. You are creating a ai app, sounds
great! Good luck.
---
http://vishaltelangre.com
http://twitter.com/suruwat

On Jul 9, 2:00 am, Balakrishnan Prasanna balkiprasa...@gmail.com
wrote:
 Hi Matt Harris,

 I am developing emotion basedSentiment AnalysisforTwitterdata. I
 am interested in applying for sentiments for live tweets dynamically
 fromTwitter. I am looking on API to get the livepublic datafrom
 Twitterto my application. How can I proceed with this API to get
 public tweets.

 Regards,
 Prasanna.

-- 
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] What is the best strategy to get this volume of data?

2011-07-10 Thread Ben Flux
The intention was to do lots of the same query, perhaps 80 unique queries, 
but every 30 seconds or less

-- 
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] My TwitterJavaClient Opens Browser Window to Authenticate, WHY?

2011-07-10 Thread Abhishek mehta
Hello All
I am using MGTwitterEngine to get a twitter followers in my iPhone sdk
for this i m doing the following thing


-(IBAction)tweet:(id)sender
{
  [_engine getFollowersIncludingCurrentStatus:YES];

NSLog(@getFollowersIncludingCurrentStatus %@,[_engine
getFollowersIncludingCurrentStatus:YES]);

}

but when i press this button at that time its not calling the following
delegate method.
- (void)userInfoReceived:(NSArray *)userInfo forRequest:(NSString
*)connectionIdentifier

kindly give me your valuable suggestions

With Regards
Abhishek Mehta


On Sun, Jul 10, 2011 at 10:15 PM, Harrier_II kfrdo...@gmail.com wrote:

 When I run my Java Twitter Client in Netbeans7 it opens a browser window
 and I get the twitter allow app to access my profile.
 It then generates a number that I have to type into the Java commandline to
 allow my Java app to show my icon and latest status.
 Is this OOB authentication?
 I am new to all this stuff, can some one point me in the right direction as
 to what I should be doing.
 Ideally I want the user to login via my java app, is this possible?

 cheers
 Kevin

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