I could use some assistance troubleshooting a problem with the metaweblog API.
I’m trying to to pull from instagram and post the images to the site’s blog, but am having trouble making it work.
The site has two environments: test and production. In the test site, the site is making posts. In production, it is not.
The instagram is making its API calls correctly, and authenticates etc, as I’m receiving data from it (and can see data in the log file). But the next step - writing that content to a blog post - is not.
The instagram function sends back a lot of data, including a cURL that looks like this: http://mywebsite.com/?ACT=57&u=MYUSERNAME&p=MYPASSWORD&photo=http://distilleryimage2.s3.amazonaws.com/abcde123456.jpg&caption=This+is+my+photo+caption&link=http://instagr.am/p/12345abcd/
In the metaweblog module, I’ve got a configuration with the API path of for “http://mywebsite.com/?ACT=57&id=1” and configured to match the working version on test (same channels/fields/etc set up). All matches the EE wiki entry on the API.
So it looks like I’m receiving correct data, and it’s pointing to the right action to put the data into the post, but it’s just not happening on the production site.
On the test site, it does work, which is what’s weird.
The only difference between the files is that there are different api keys for the instagram portion and some passwords. But otherwise, the two sites are identical.
Does anyone have a suggestion? I think I may be missing a particular piece of the puzzle.
The site runs on EE 2.3.1, build date 20111017.
Thanks.