Thanks for that. This is what I am trying to achieve.

We would have a company account on Twitter (@companyname)

Our application allows 5 users to enable disable the security alerts /
images via email or sms.
They click a checkbox to turn on and off and this is stored in the
database and determines whether the alert is sent.

To integrate into twitter the client would only be interested in any
alert messages sent by DM (as these would be an alert on his device).

We would not want all clients to see all other alerts (for obvious
reasons) .

Is the above possible ?. I think it would work if we had a different
twitter account for each client but this is impractical.

Once this is implemented we would then develop the app to incorporate
twittering alerts /images to friends etc.

On Dec 9, 9:43 pm, TJ Luoma <[email protected]> wrote:
> You can DM anyone who follows you.
>
> Only people you follow can DM you.
>
> On Wed, Dec 9, 2009 at 1:47 PM, park2 <[email protected]> wrote:
> > I managed to get something working thanks.
>
> > What is the exact criteria needed to be able to send direct to a
> > user.
>
> > eg do you have to follow them they follow you , accept messages etc
> > etc
>
> > Cheers
>
> > SteveW
>
> > On Dec 9, 3:27 pm, Abraham Williams <[email protected]> wrote:
> >> You can read about creating direct messages on the 
> >> wiki:http://apiwiki.twitter.com/Twitter-REST-API-Method:-direct_messagesnew
>
> >> You can read about making POST requests with cURL 
> >> here:http://netevil.org/blog/2006/nov/http-post-from-php-without-curl
>
> >> Abraham
>
> >> On Tue, Dec 8, 2009 at 14:42, park2 <[email protected]> wrote:
> >> > We have an existing security product that when an alert happens we
> >> > send a text and email. We now need to send to a Twitter account. What
> >> > is the syntax to send 'test alert' to user 'test123' direct from the
> >> > web address bar. I am trying to do this within php without installing
> >> > curl.
>
> >> --
> >> Abraham Williams | Community Evangelist |http://web608.org
> >> Project | Intersect |http://intersect.labs.poseurtech.com
> >> Hacker |http://abrah.am|http://twitter.com/abraham
> >> This email is: [ ] shareable [x] ask first [ ] private.
> >> Sent from Madison, WI, United States

Reply via email to