ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Metaweblog API not posting records

September 05, 2012 2:16pm

Subscribe [3]
  • #1 / Sep 05, 2012 2:16pm

    firstpier

    8 posts

    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.

  • #2 / Sep 07, 2012 12:52pm

    Kevin Smith

    4784 posts

    Hi firstpier,

    Since this involves a few things I’m not immediately familiar with, I think it might be easier to help you if I can have a first-hand look at it. Be on the lookout for an email from me!

  • #3 / Sep 07, 2012 4:25pm

    firstpier

    8 posts

    Kevin, thanks so much for your response, we really appreciate it.

    We were able to debug the issue.  It was related to using the correct Get & Post methods and EE Authentication.

    Thanks again for getting back to us, stay well.

    Steve

  • #4 / Sep 10, 2012 2:14pm

    Shane Eckert

    7174 posts

    Hey there firstpier,

    I am really glad to see that Kevin was able to help you out!

    Before I close this thread, is there anything else I can help with? Any questions?

    Cheers,

  • #5 / Sep 10, 2012 2:17pm

    firstpier

    8 posts

    Shane, nope—we are all set over here, much much appreciated.

    Stay well
    Steve

  • #6 / Sep 10, 2012 2:29pm

    Shane Eckert

    7174 posts

    Hey firstpier,

    Awesome! Have a great week!

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases