Not working
-
Hey Bjoerne,
Im getting this message –
An error occurred: Unexpected response code for url ”:
And I don’t know why I trouble shooted the post from PeterBP a couple of months ago but I still cant get this working.
The recipe is the same that you used and seems to be working fine.
-
Hi renton99!
Can you activate the logging and post the logged data? Be sure that you don’t post your username/password.
Cheers,
BjörnHello,
Thanks for replying so fast.
Heres the log data, from what I can see if the same as PeterBP initial log data.
2015/06/01 03:39:59 PM
error
An error occurred: Unexpected response code for url ”:
2015/06/01 03:39:59 PM
info
xmlrpc call received
2015/06/01 03:39:59 PM
debug
Received request:
<?xml version=”1.0″ encoding=”UTF-8″?>
<methodCall>
<methodName>metaWeblog.newPost</methodName>
<params>
<param>
<value>
<string/>
</value>
</param>
<param>
<value>
<string>admin</string>
</value>
</param>
<param>
<value>
<string>Sparx2004#1</string>
</value>
</param>
<param>
<value>
<struct>
<member>
<name>title</name>
<value>
<string>Test</string>
</value>
</member>
<member>
<name>description</name>
<value>
<string>Test body</string>
</value>
</member>
<member>
<name>post_status</name>
<value>
<string>publish</string>
</value>
</member>
<member>
<name>categories</name>
<value>
<array>
<data>
<value>
<string>Instagram</string>
</value>
</data>
</array>
</value>
</member>
<member>
<name>mt_keywords</name>
<value>
<array>
<data>
<value>
<string>ifttt_bridge</string>
</value>
</data>
</array>
</value>
</member>
</struct>
</value>
</param>
<param>
<value>
<boolean>1</boolean>
</value>
</param>
</params>
</methodCall>
2015/06/01 03:39:59 PM
info
Received data:
title: Test
description: Test body
post_status: publish
categories: Instagram
mt_keywords: ifttt_bridgeYour description is ‘Test body’, but it should have the json format like {“Url”:”…”, “SourceUrl”:”…”}. I guess that your recipe is not configured correctly. It should look like my public recipe https://ifttt.com/recipes/195858-if-i-create-a-instagram-photo-then-create-the-photo-in-my-ifttt-instagram-gallery-via-ifttt-bridge and have a body like:
{"Url":"{{Url}}", "SourceUrl":"{{SourceUrl}}"}Hello,
I have added that, but still getting an error
2015/06/01 04:07:05 PM
info
Received data:
title: {{Caption}}
description: {“Url”:”{{Url}}”, “SourceUrl”:”{{SourceUrl}}”}
post_status: publish
categories:
mt_keywords: ifttt_bridge, ifttt_bridge
2015/06/01 04:07:05 PM
error
An error occurred: Unexpected response code for url ‘{{Url}}’:I wonder why the variables haven’t been replaced. Did you send the request via IFTTT or with the test request feature of the plugin? Only IFTTT replaces the variables. When sending a test request you have to use existing URLs instead.
That was with the test request feature on the plugin. How do I test via IFTTT? Do I just add an image to instagram? Also, when I added a photo earlier, the photo came up in my posts, but didn’t link up with the gallery even though the short code was in place. I dont know if that matters or not.
Hello Bjoerne,
Thanks for your support on this so far, I have managed to get this working, but getting a repeat of 3 images on the page instead of just the one.
Im not sure why this is happening, have you encountered this problem before?
The topic ‘Not working’ is closed to new replies.