hey there is a issue between domain access and the twitter module,, http://drupal.org/project/twitter , well the issue is , when ever a content is created and a tweet exported from the node.. for eample, xyz.domain.com is where the post is send from, on twitter the url comes like domain.com/node/1 instead of xyz.domain.com/node/1 ,

any one has any solution to this,,,, well if you guys want i can have a demo site set up so we can play around and get a solution for this issue... probably it a issue with the twitter module, but i am confused, can some one give ma puch in the right direction..

thx

Comments

agentrickard’s picture

Twitter module sets its url call to absolute, which uses the $base_path. This $base_path will be set automatically and appears to default to whichever site is running when the post is saved.

See twitter_nodeapi for the place where this happens. See domain_url_rewrite_outbound for what DA handles.

I don't believe anything can be done except writing some custom bridge code.

See also http://api.drupal.org/api/function/url/6

agentrickard’s picture

Also make sure you are not setting $base_url manually in settings.php.

And check to see if you have DA's SEO optimization 'on'; that might make a difference.

2by’s picture

thx a lot for the push, i will look into it and keep u updated...

2by’s picture

hey guys, i have tried a lot, but kinda things dont seems to work out.... HELP!!!!!!!!!!!!!!!!

skizzo’s picture

not much help, but I can tell you that I am using twitter along with DA (rc6) and don't see the problem: each tweet refers to the domain where the content was generated. I am using the "global account" in twitter setup.

agentrickard’s picture

Category: bug » support
Status: Active » Closed (fixed)

Closing for lack of follow-up.