Page 2 of 2

Posted: Thu Jan 12, 2006 8:00 pm
by judebert
There's a syntax error in the file. Go to that line (it looks like this:)

Code: Select all

 echo htmlentities($result); . "\n\n<hr /><br />\n\n";
and remove the first semicolon so it looks like this:

Code: Select all

 echo htmlentities($result) . "\n\n<hr /><br />\n\n";
.

Then try again. Sorry for the inconvenience; this sort of thing happens to the best of us.

Posted: Fri Jan 13, 2006 2:32 pm
by Guest
I rolled back the ljupdate.php file to the last one--that un-broke the journal. I looked in the plugins configuration and noticed that there was an update for lj/myspace update. So I installed the update. Now there is some activity, but now actual post in myspace. LJ still works great.

Here's the output:
(REMOVED BY ADMIN)

I've tried listing variations in the server name field on the configuration, but, from my limited understanding of php, it looks like the server and paramaters are defined in the script and ignore that field altoghether.

Posted: Fri Jan 13, 2006 3:00 pm
by garvinhicking
If you look at your output HTML code, you'll see that MySpace has responded to your URL call with a "Unknown error" page.

That means, the way the script you posted opens the URL has either changed or is buggy.

Since I don't know or use MySpace, I do not know which URLs need to be called.

Maybe you have the time to properly get the correct URLs and which POST Values to submit -- or maybe you can find a working script snippet. The two snippets you pointed to actually contain nearly the same code.

You should be able to open the URLs that the plugin outputs to you in your browser if you create a sample URL form like this:

Code: Select all

<form action="http://blog.myspace.com/index.cfm?fuseaction=login.process" method="post">
<input type="hidden" name="email" value="YOUR_EMAIL" />
<input type="hidden" name="password" value="YOUR_PASSWORD" />
<input type="hidden" name="Remember" value="0" />
<input type="submit" value="GO!" />
</form>
(Replace YOUR_EMAIL and YOUR_PASSWORD with your password. Pay attention you don't publish it here in the forums the next time *g*)

With that HTML you should see the same error page that your blog is seeing. Maybe your password is wrong? Or maybe MySpace does no longer allow remote calling their services?

Best regards,
Garvin

Posted: Fri Jan 13, 2006 8:08 pm
by Guest
Pay attention you don't publish it here in the forums the next time *g*
Woops, a little too trusting. Didn't intend to publish that info, thanks for removing it.

I'll play arround with the calls and pound Google and try figure them out. I'll share what i find here.

I just want to say thanks for all the help. I'm sure you're busy and this is probably an annoyance. I realy appreciate it. Thanks!

Posted: Sun Jan 15, 2006 6:43 pm
by garvinhicking
You're very welcome. I'm heartly sorry to not yet have helped in solving the issue for you - but this is pretty hard since I really have no knowledge about MySpace and am too short on time to get involved in it.

Of course, if you find any help or clues to solve it, feel free to post here so that we can work it out. :)

Best regards,
Garvin

Posted: Wed Feb 01, 2006 7:08 pm
by Guest
the curl login works fine. Curl then tries to do the posting of info to the blog, but, myspace first redirects you to a advertisement page--not the primary page.

It seems that getting arround the redirect, or using curl to go through the redirect would work. No luck on my part for getting arround the redirect yet. I'll keep trying and post again if I figure it out.

Posted: Thu Feb 02, 2006 9:59 am
by garvinhicking
Can you tell how the redirect is performed? Via a HTTP Redirect, or via a META REFRESH redirect?

The first one would easily be solvable, the second one poses a problem and more parsing overhead.

Regards,
Garvin

Posted: Thu Feb 02, 2006 9:29 pm
by Guest
I can't tell. I've dug through all the javascripts on the login page to see if they point anywhere else, but could find no url. I've looked through the source of each login/home/blog page without luck. There is also something weird, I only occasionally get the ad screen. This may be worth giving up on.

Posted: Wed Mar 01, 2006 7:53 pm
by Trench
Just curious if anyone has had success with using the MySpace cross posting part of the plugin?

Posted: Thu Apr 13, 2006 10:14 pm
by FlashAM
I haven't had any success with this either. Anyone have any helpful hints?

Posted: Fri Apr 14, 2006 3:40 am
by garvinhicking
I think MySpace has closed down their option of the remote posting. It doesn't seem as if they want remote posting to work.

Regards,
Garvin

Posted: Fri Apr 14, 2006 3:43 am
by FlashAM
I was thinking along the same lines, but I was still hopeful!

Thanks for the reply.

Posted: Fri Oct 27, 2006 10:44 pm
by brentil
garvinhicking wrote:I think MySpace has closed down their option of the remote posting. It doesn't seem as if they want remote posting to work.

Regards,
Garvin
I've spent the last couple of hours trying to get the MySpace posting ability of the LJ/MySpace plugin to work with no success. It's returning data for my particular blog but no entries are going in.

If this is true maybe the plug should be renamed to remove the MySpace reference since until I stumbled across this post I though I was just doing it completely wrong.