Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I am trying to use this package to automatically publish my blog posts into my Twitter account.
My tweet.config appears to be in the correct folder: /umbraco/plugins/DocumentPublishTweet/tweet.config with the right configuration, as follows:
<config> <accounts> <account key="mainaccount"> <login>myUsername</login> <password>myPassword</password> </account> </accounts> <document_types> <document_type alias="BlogPost"> <title_property_alias>PostTitle</title_property_alias> <tweets> <tweet domain_filter="mydomain.com"> <account>mainaccount</account> <message>New post on our Blog! - '#title#' #url#</message> </tweet> </tweets> </document_type> </document_types></config>
The DLL file is also in the bin folder. My document type has the "tweeted" property as well.
If I copy and paste the above login and username (obviously censored here) from this tweet.config to their web interface I am able to login successfully. However, after publishing the node my umbracoLog table logs the following:
FMDOCTWEET:: The remote server returned an error: (401) Unauthorized.FMDOCTWEET:: Cannot tweet
So it looks like something is wrong while authentication on the API. I am sure my login and password work when loggin in via web.
Any ideas or suggestions, please?
Thanks in advance,
And you're absolutely positive you have not overseen a typo in your credentials?
Hi - Twitter no longer supports user/pass authentication using their API so this package is redundant.
Hi Jan, Darren
Thanks for your replies. The credentials were right, but the API wouldn't log me it at all. I see now that Darren is right, basic authentication via Twitter API has been deprecated on 16th August 2010. Looks like we've got to use OAuth from now on.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted