I'm working on a plugin for WordPress that allows selected blog entries to be cross-posted to Twitter. Entries will post to Twitter perfectly, but I'm having difficulty setting the Twitter client. Here's the relevant portion of my PHP code:
Like I said, the post is sent to Twitter perfectly and without errors, but the X headers don't show. All my posts say "from web." Am I passing the X headers incorrectly, or do I need to do something more to get Twitter to recognize my client?
We don't base the "from [appname]" links on the X-Twitter-Client headers; they're simply an ad-hoc community standard that third-party Twitter developers have agreed upon. They help us get a sense of our traffic from API tools, but they're purely optional.
As per my announcement in a previous thread on this group, if you message me off-list I can set you up with a "source" parameter for your application and get you linked up. Thanks!
On 5/31/07, feastofcru...@gmail.com <feastofcru...@gmail.com> wrote:
> I'm working on a plugin for WordPress that allows selected blog > entries to be cross-posted to Twitter. Entries will post to Twitter > perfectly, but I'm having difficulty setting the Twitter client. > Here's the relevant portion of my PHP code:
> Like I said, the post is sent to Twitter perfectly and without errors, > but the X headers don't show. All my posts say "from web." Am I > passing the X headers incorrectly, or do I need to do something more > to get Twitter to recognize my client?
> We don't base the "from [appname]" links on theX-Twitter-Client > headers; they're simply an ad-hoc community standard that third-party > Twitter developers have agreed upon. They help us get a sense of our > traffic from API tools, but they're purely optional.
> As per my announcement in a previous thread on this group, if you > message me off-list I can set you up with a "source" parameter for > your application and get you linked up. Thanks!
> On 5/31/07, feastofcru...@gmail.com <feastofcru...@gmail.com> wrote:
> > I'm working on a plugin for WordPress that allows selected blog > > entries to be cross-posted to Twitter. Entries will post to Twitter > > perfectly, but I'm having difficulty setting the Twitter client. > > Here's the relevant portion of my PHP code:
> > Like I said, the post is sent to Twitter perfectly and without errors, > > but the X headers don't show. All my posts say "from web." Am I > > passing the X headers incorrectly, or do I need to do something more > > to get Twitter to recognize my client?
> > We don't base the "from [appname]" links on theX-Twitter-Client > > headers; they're simply an ad-hoc community standard that third-party > > Twitter developers have agreed upon. They help us get a sense of our > > traffic from API tools, but they're purely optional.
> > As per my announcement in a previous thread on this group, if you > > message me off-list I can set you up with a "source" parameter for > > your application and get you linked up. Thanks!
> > On 5/31/07, feastofcru...@gmail.com <feastofcru...@gmail.com> wrote:
> > > I'm working on a plugin for WordPress that allows selected blog > > > entries to be cross-posted to Twitter. Entries will post to Twitter > > > perfectly, but I'm having difficulty setting the Twitter client. > > > Here's the relevant portion of my PHP code:
> > > Like I said, the post is sent to Twitter perfectly and without errors, > > > but the X headers don't show. All my posts say "from web." Am I > > > passing the X headers incorrectly, or do I need to do something more > > > to get Twitter to recognize my client?