Re: [twitter-dev] Send a tweet with custom login C++ (BEGINNER)

2011-06-08 Thread BJ Weschke
 Basic Auth has been disabled/deprecated for some time now. You'll need 
to use oAuth.


On 6/8/2011 1:33 PM, kamesh SmartDude wrote:

U can use Basic Authentication.

u have to send the user credentials in the Header.

(But this is not a secured way)

//kamesh

On Wed, Jun 8, 2011 at 9:42 PM, shamm shaena...@gmail.com 
mailto:shaena...@gmail.com wrote:


Hi,

I am trying to create a Twitter application using C++, that could send
tweets. I need a custom login where users could actually enter there
own usernames and password to login thus send tweets thereafter.

I have googled and found out about twitcurl, but yet i was unable to
send tweets with it. Is there any example where i could use in order
to send a tweet (with custom login) ?

at the moment i am clueless i have been searching for this for the
past 2 weeks.

Help appreciated.

regards

shamm

--
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
https://groups.google.com/forum/#%21forum/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 
https://groups.google.com/forum/#%21forum/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 login facility on my website

2011-01-26 Thread BJ Weschke
 Bless you for the initial research and letting the coder just go and 
sling code. :-)


 Using the @Anywhere JS library, you'll want to have your developer 
check here: http://dev.twitter.com/anywhere/begin#login-signup


On 1/26/2011 7:09 AM, Madswede wrote:

Hi,

Not a technical person but would like to know how to have the Twitter
login facility on my website so my visitors can use their twitter
details to login to my site with.
I have a developer but thought I would do the research work for him so
he just has to implement ithope it makes sense to you guys too.

Thanks for reading this,

Cheers from Sweden



--
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: Invalid / expired Token

2010-09-28 Thread BJ Weschke
Are you certain that you're using the access token and secret received 
and not the request token and secret?


Rajendra Singh wrote:

Help anyone?

On Sep 6, 7:16 pm, Rajendra Singh rs.can...@gmail.com wrote:
  

Hi Tom,

Yes I did fill in those values correctly.

On Sep 6, 5:44 pm, Tom van der Woerdt i...@tvdw.eu wrote:



On 9/6/10 10:57 PM, Rajendra Singh wrote:
  

Hello,

I took the twoleggedtwitter.php example file and added the following

two lines:

   $request = new OAuthRequester(TWITTER_UPDATE_STATUS_API, 'POST',

status=Test);
   $result = $request-doRequest();

However, when I execute it, I get:

Exception:  Request failed with code401:  {request:/statuses/
update.json,error:Invalid/expiredToken}

Can someone help me?  What am I doing wrong?


Did you fill in the consumertokenand secret? And the usertokenand
secret?
  
Tom
  


  


--
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: How i can logout using oauth or rest api of twitter?

2010-08-19 Thread BJ Weschke
 I asked about the very same thing a few weeks back. It doesn't seem 
like such a thing exists yet.


On 8/19/2010 1:53 PM, Ken wrote:

An API method allowing a user to revoke your credentials from within
your app, as users can do through http://twitter.com/settings/connections
- if they manage to find it.

Probably would need to be a TOS requirement...

On Aug 19, 6:53 pm, JTOnejthot...@gmail.com  wrote:
   

It might be useful to have a destroy credentials endpoint though,
to
remove your app from the connections screen.

what you means? how do it?
 




[twitter-dev] Expire remove oAuth access_token via API

2010-07-29 Thread BJ Weschke
Excuse the redundancy of this question if it's been asked already, but 
prior Google searches didn't turn up any clear guidelines.


Is there a way presently to have a user disqualify/expire their 
access_token for a given application via an API call? I understand that 
we can just drop the access_token on our side and not use it again, but 
I believe the connection to the application would still exist in the 
user_profile which might lead to user confusion later on?


What's the correct way to handle this? Should we be providing links 
back into the twitter web portal to manage it?


Thanks.

BJ


Re: [twitter-dev] Retrieving new tweets for 40-60 thousand users

2010-07-20 Thread BJ Weschke

 The streaming API.

On 7/20/2010 10:43 AM, PBro wrote:

Hi,

We are developing an application with which we want to give a message
to a user that one of his friends has posted a new tweet.
This application is expected to have 40-60 thousand users, so separate
api-call's isn't the best option.
What would you advise as best practice for retrieving new tweets of a
user's friends for this much users?

Patrick
   




Re: [twitter-dev] Scheduled Twitter API Network Maintenance, June 16th @ 6-7:30 AM PDT 21

2010-06-16 Thread BJ Weschke
A planned maintenance from 9-10:30A EDT and during one of the World 
Cup games? Wow. I hope it's really important.


Taylor Singletary wrote:


Hi Developers,

A little late notice, but just wanted to make sure you've all seen 
what was posted on the Twitter status blog a bit earlier:


MAINTENANCE ACTION:

—

We’ll be working with our network provider to perform some tests
and maintenance. During this time you can expect a high rate of
errors (whales)

DATE/TIME WINDOW:

—

 June 16th @ 6-7:30 AM PDT

AFFECTED RESOURCES:

———

Twitter.com and* Api.twitter.com http://Api.twitter.com*

*
*

*Might be a bit bumpy this morning, but intentionally so.*
*
*Taylor Singletary
Developer Advocate, Twitter
http://twitter.com/episod




Re: [twitter-dev] Scheduled Twitter API Network Maintenance, June 16th @ 6-7:30 AM PDT 21

2010-06-16 Thread BJ Weschke

Thanks John. That makes more sense.

John Kalucki wrote:

The wording wasn't accurate and has since been changed. They're going
to be poking around with network and monitoring traffic, and there's
always a very small chance that something will go wrong, a link will
drop, and it'll take a few seconds for the network topology to
re-converge. Usually we hardly take note of, or can even detect, a
partition, due to the low convergency latency. However, when we're
running the backlinks so hot, anything could happen. They're just
trying to communicate the somewhat elevated risk of this measurement
that is only useful during a peak event and is necessary to add
appropriate capacity and balance load.



On Wed, Jun 16, 2010 at 6:44 AM, BJ Weschke bwesc...@btwtech.com wrote:
  

A planned maintenance from 9-10:30A EDT and during one of the World Cup
games? Wow. I hope it's really important.

Taylor Singletary wrote:


Hi Developers,

A little late notice, but just wanted to make sure you've all seen what
was posted on the Twitter status blog a bit earlier:

   MAINTENANCE ACTION:

   —

   We’ll be working with our network provider to perform some tests
   and maintenance. During this time you can expect a high rate of
   errors (whales)

   DATE/TIME WINDOW:

   —

June 16th @ 6-7:30 AM PDT

   AFFECTED RESOURCES:

   ———

   Twitter.com and* Api.twitter.com http://Api.twitter.com*

   *
   *

*Might be a bit bumpy this morning, but intentionally so.*
*
*Taylor Singletary
Developer Advocate, Twitter
http://twitter.com/episod
  





Re: [twitter-dev] Re: Annotations Hackfest

2010-05-26 Thread BJ Weschke
 I realize it may not be logistically possible just yet, but you may also want 
to throw some consideration for an additional hackfest for those closer to the 
east coast. (Eg-NYC)

Sent from my Verizon Wireless BlackBerry

-Original Message-
From: themattharris thematthar...@twitter.com
Date: Wed, 26 May 2010 15:30:07 
To: Twitter Development Talktwitter-development-talk@googlegroups.com
Subject: [twitter-dev] Re: Annotations Hackfest

Great question. We're really excited to see what developers do with
annotations during the hackfest. In some ways the hackfest can be
thought of as an early test of annotations and will let us know what
we have left to do before we release them to the developer community.

The plan, if things go well at the hackfest, is to have a general
developer release this summer.



Re: [twitter-dev] Oauth authenticated user

2010-05-19 Thread BJ Weschke

 Use the force_login parameter on authenticate and set it to true?

 http://apiwiki.twitter.com/Twitter-REST-API-Method:-oauth-authenticate

On 5/19/2010 9:06 AM, Gary Zukowski wrote:


Dean,

Exactly the same concern I have.  We're going to store the access 
tokens in the db under their user profile, and some of our users have 
multiple Twitter accounts.  We feel that some of them may see the big 
allow button, click it, and not realize that they are allowing the 
wrong Twitter account to be linked to their TMJ account.


Any way around this?

Thanks,

Gary Zukowski

TweetMyJOBS.com

@garyzukowski

@tweetmyjobs

704-544-9370

/This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed. If you have received this email in error, please notify 
the system manager. This message contains confidential information and 
is intended only for the individual named. If you are not the named 
addressee, you should not disseminate, distribute or copy this email. 
Please notify the sender immediately by email if you have received 
this email by mistake and delete this email from your system. If you 
are not the intended recipient, you are notified that disclosing, 
copying, distributing or taking any action in reliance on the contents 
of this information is strictly prohibited./


*From:* Dean Collins [mailto:d...@cognation.net]
*Sent:* Wednesday, May 19, 2010 8:53 AM
*To:* twitter-development-talk@googlegroups.com
*Subject:* RE: [twitter-dev] Oauth authenticated user

This question has been raised before. We have the same issue for our 
sports chat sites.


I would have preferred to have the user log in each time an oauth 
request is made as it's frustrating when people contat us at support 
because their in chat twitter posts aren't appearing only to find 
the posts are being made but to someone else twitter accounts who was 
using the computer before and even though the browser was closed 
Twitter automatically sued this account when we sent the oauth requests.


It's a big problem and a choice should be offered to the developer to 
force logout before an oauth call if this is the process flow they 
want to implement.


Cheers,

Dean



*From:* twitter-development-talk@googlegroups.com 
[mailto:twitter-development-t...@googlegroups.com] *On Behalf Of 
*srikanth reddy

*Sent:* Wednesday, May 19, 2010 8:46 AM
*To:* twitter-development-talk@googlegroups.com
*Subject:* Re: [twitter-dev] Oauth authenticated user

I do not think forcing the user to logout  is a good idea. Isn't this 
a security breach? Twitter will any how ask the user to signout if the 
user does not wish to connect to your app with the logged in 
account.Then he will be shown the login page and after successful 
authentication user will be redirected back to your app (like normal flow)


On Wed, May 19, 2010 at 6:01 PM, Gary Zukowski ga...@tweetmyjobs.com 
mailto:ga...@tweetmyjobs.com wrote:


So there's no way to automatically do this?  I have to ask the user to 
log out?


Thanks,

Gary Zukowski

TweetMyJOBS.com

@garyzukowski

@tweetmyjobs

704-544-9370

/This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed. If you have received this email in error, please notify 
the system manager. This message contains confidential information and 
is intended only for the individual named. If you are not the named 
addressee, you should not disseminate, distribute or copy this email. 
Please notify the sender immediately by email if you have received 
this email by mistake and delete this email from your system. If you 
are not the intended recipient, you are notified that disclosing, 
copying, distributing or taking any action in reliance on the contents 
of this information is strictly prohibited./


*From:* Roee A. [mailto:roe...@gmail.com mailto:roe...@gmail.com]
*Sent:* Wednesday, May 19, 2010 8:28 AM


*To:* twitter-development-talk@googlegroups.com 
mailto:twitter-development-talk@googlegroups.com

*Subject:* Re: [twitter-dev] Oauth authenticated user

add to your code If you are not user name please log out.

Then you will connect him again with the right credentials.

Regards,

On Wed, May 19, 2010 at 3:19 PM, Gary Zukowski ga...@tweetmyjobs.com 
mailto:ga...@tweetmyjobs.com wrote:


What does adf mean?  I want to force the logout and present the 
Twitter login when doing the authentication


Thanks,

Gary Zukowski

TweetMyJOBS.com

@garyzukowski

@tweetmyjobs

704-544-9370

/This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed. If you have received this email in error, please notify 
the system manager. This message contains confidential information and 
is intended only for the individual 

Re: [twitter-dev] Re: My applications were Suspended

2010-04-23 Thread BJ Weschke

 Hey Brian -

 Why don't you guys eat your own dog food and use Direct Messaging to 
the account that registered the app instead of email ?  That way, you 
have some sort of audit trail for the notifications, no?


 When I worked through the issue that I had with one of my apps with 
you, I hadn't received an email about the original suspension either, or 
at least not that I could find.


 BJ

On 4/23/2010 3:28 PM, Brian Truebe wrote:

Yes, the email that is sent out after an application is suspended does
explain possible rule violations. This email is sent to the account
that registered the application, so if you've registered an app with
an auxiliary account not tied to an email address you check regularly
then an app suspension may come as a rather unfortunate surprise.

While there is no sandbox, we're very open to discussing any
concerns an app developer may have while they develop their app. The
best course of action is to read the rules first while developing.  If
you're still worried a feature you're developing may result in your
users being suspended our your entire app being suspended then you can
always email us at a...@twitter.com and we'll be happy to work with you
to ensure the longevity of your application.  I hope this helps.

-Brian


On Apr 23, 11:37 am, John Meyerjohn.l.me...@gmail.com  wrote:
   

On 4/23/2010 10:58 AM, Brian Truebe wrote:

 

My name is Brian Truebe and I am on the API Policy team, when apps are
suspended they are sent a notice as to how to contest the suspension,
however this may have gotten lost in the tubes.  Please email
a...@twitter.com and let us know the app name and we'll see if we can
sort this out.
Sorry for the inconvenience.
   
 

Regards,
Brian
   

One question: does the e-mail have an explanation about why the
application was suspended in the first place (you mention how to contest
the suspension but nothing about what the suspension is about).  And is
there some way to create a sandbox for suspended apps where they can
re-test to see if they are in compliance with the rules before going out
into the real world Twitterverse?

--
Subscription 
settings:http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
 




Re: [twitter-dev] Re: My applications were Suspended

2010-04-23 Thread BJ Weschke
 That's a great idea. There's already web ticketing built into 
a...@twitter.com - put all the details in there and then just drop in a 
DM Your application has been suspended. Please refer to the following 
ticket (bit.ly link) for more details.



On 4/23/2010 4:22 PM, John Meyer wrote:

On 4/23/2010 2:01 PM, BJ Weschke wrote:

Hey Brian -

Why don't you guys eat your own dog food and use Direct Messaging to the
account that registered the app instead of email ? That way, you have
some sort of audit trail for the notifications, no?

When I worked through the issue that I had with one of my apps with you,
I hadn't received an email about the original suspension either, or at
least not that I could find.

BJ



One thing with that: 140-character tweets are good for a lot of 
things, but technical explanations of suspensions aren't one of them 
(unless you link together a web-ticket system with it).







--
Subscription settings: 
http://groups.google.com/group/twitter-development-talk/subscribe?hl=en


Re: [twitter-dev] dev.twitter.com

2010-04-14 Thread BJ Weschke
 I completely agree. Nice job!

Sent from my Verizon Wireless BlackBerry

-Original Message-
From: Atul Kulkarni atulskulka...@gmail.com
Date: Wed, 14 Apr 2010 16:38:32 
To: twitter-development-talk@googlegroups.com
Subject: Re: [twitter-dev] dev.twitter.com

+1... this is nice.

On Wed, Apr 14, 2010 at 4:27 PM, Dewald Pretorius dpr...@gmail.com wrote:

 Okay, this seriously rocks.

 Congrats to everyone who worked on making dev.twitter.com happen.


 --
 To unsubscribe, reply using remove me as the subject.




-- 
Regards,
Atul Kulkarni



Re: [twitter-dev] OAuth confusion

2010-03-31 Thread BJ Weschke
 Use oauth to get an access token. Once you've gotten the access token 
by the user approving the app to act on their behalf, that user need not 
be authenticated again. You only need the access token that you got 
through the original oAuth handshake.


On 3/31/2010 3:59 PM, Edward Caine wrote:

Hello all,

I'm writing a desktop client for very specific people i.e. only the
staff of my website - I'd like to be able to access the API using my
app, which is registered, and for it to say via LateMusic.org under
the tweet.

What I don't want to do is have the user authenticate before typing
the tweet - I just want them to be able to tweet.

How do I do this using OAuth and PHP?

Many thanks
Edd


   




--
To unsubscribe, reply using remove me as the subject.


Re: [twitter-dev] Re: How to keep my website logged in to twitter so everyone can post to my twitter account ?

2010-03-31 Thread BJ Weschke

 I think you're looking for this:

 http://apiwiki.twitter.com/OAuth-Examples

 There's PHP examples right at the top.

On 3/31/2010 4:32 PM, Dinamito wrote:

Can you tell me where I can learn how to do it?
Thanks a lot

On Mar 30, 6:58 pm, Abraham Williams4bra...@gmail.com  wrote:
   

They will only be able to perform actions on Twitter that you build into the
site. Keep in mind though that if you implement status updates they will be
able to follow, unfollow, send dms, etc using the sms keywords.

Abraham





On Tue, Mar 30, 2010 at 07:08, Dinamitoadminitc...@gmail.com  wrote:
 

Yeah this is what I mean :)
when you say dangerous you mean that they can change the settings in
twitter?
I want that everyone can send in my name but without permissions to
twitter account settings
and in this page I want to have the old tweets too.
this is possible? can you give me direction how to do that ? it's
complicated ?
   
 

On Mar 29, 12:04 am, Michael Steuermste...@gmail.com  wrote:
   

I guess what needs clarification is: what do you mean by send tweets
to MY Twitter? Did u want to allow random users to tweet on your
behalf (kinda dangerous don't u think?) or simply allow them to
@mention you?
 
 

On Mar 28, 2010, at 10:15 AM, Dinamitoadminitc...@gmail.com  wrote:
 
 

What I am trying to do is not related to joomla
I will explain my self again
I want to create a simple page that everyone can read all my tweets
and in the top of the page I want to have an option to write tweets to
my tweeter
I want to keep this page always connect to twitter so everyone can
surf to this page and send tweets to my twitter lets call it a public
tweeter.
   
 

There is a way to do it ?
   
 

On Mar 27, 8:10 pm, M. Edward (Ed) Boraskyzzn...@gmail.com  wrote:
   

On 03/27/2010 03:59 AM, Dinamito wrote:  Hi,
 
 

I am searching the web for a long time a way to keep my website
connected to twitter with my account so everyone can post in my
twitter directly from my site.
my site based on joomla and I can use external php/html file as you
can understand I am not a processional developer actuality I am just
starting now to learn things. I will very appreciate if you can help
me with this.
   
 

Thanks a lot.
   
 

To unsubscribe from this group, send email to twitter-development-
talk+unsubscribegooglegroups.com or reply to this email with the
words REMOVE ME as the subject.
   
 

I don't know Joomla! at all, but I suspect there are plugins that
will
do that.
 
 

To unsubscribe from this group, send email to twitter-development-
talk+unsubscribegooglegroups.com or reply to this email with the
words REMOVE ME as the subject.
   
 

To unsubscribe from this group, send email to twitter-development-talk+
unsubscribegooglegroups.com or reply to this email with the words REMOVE
ME as the subject.
   

--
Abraham Williams | Community Advocate |http://abrah.am
Digri | Your network just got hotter |http://digri.net
This email is: [ ] shareable [x] ask first [ ] private.
 




Re: [twitter-dev] Deleting account, then recreating it

2010-01-27 Thread BJ Weschke

You wait.

http://mashable.com/2010/01/19/twitter-username-land-grab/ 
http://mashable.com/2010/01/19/twitter-username-land-grab/


Bardia Afshin wrote:

Hi,

I've deleted my twitter account eg) UserNameHere, and now that I want
to create the same account name to eg) UserNameHere I get the
following error:

username has already been taken


What is the fix for this?

Thank you,
Bardia Afshin
http://www.google.com/search?q=bardia+afshinie=UTF-8oe=UTF-8