Viewing 15 replies - 31 through 45 (of 49 total)
  • Sure,recognize it too, fix but only for few moments, after post like 2-5 messages bug already came.

    Will spend some time to solve this.

    [Links removed]

    Has a good news,

    with respect to changes you should invalidate old permisions on token and ask for new one, set access_token which you use for application and submit delete on /me/permissions, already done some changes in following code…

    FIX is very terrible but works.

    https://developers.facebook.com/tools/explorer/?method=GET&path=me%2Faccounts

    reason for randomly exceptions with #1500 error code was with expiring of access_token and related changes. Regarding

    [Please do not post that much code on these forums – use a pastebin – https://codex.www.ads-software.com/Forum_Welcome#Posting_Code ]

    Uhmmm could you please explain how to fix this to someone without a degree in programming? and the above link file does not work. it gets a whole new set of errors and the want for an update.
    When I go to:
    https://developers.facebook.com/tools/explorer/?method=GET&path=me%2Faccounts

    I get a page with some code to copy and in the top line it says “Paste in an existing Access-Token or click Get Access Token to generate one. What do I do from here. If I already have an Access Token where is it? if I click Get Access Token is asks me 100 types of access token, I choose one and it generates a long string of text. What do I do with this?

    When I schedule a post or even just post instantly to Facebook I get the following error.

    Your Facebook Page Publish plugin reports an error. Please check your plugin settings.

    While publishing “[post name removed for privacy]” to Facebook, an error occured:

    Facebook returned an unexpected error: (#1500) The url you supplied is invalid
    Try to resolve this issue, update the plugin or inform the author about the problem.
    [Error occured at line 350]

    Below is the code from lines 348 – 351

    https://pastebin.com/RX8X5mEa

    If I go back to the post and click publish again it goes through… this is problematic because I wish to use Schedule to Post and I can’t if the plugin errors on the first publish, I would have to go back in to the post and click update (with the checkbox to publish to facebook) checked to have it work.

    I have removed both the plugin and the Facebook App and re-added both. I am still receiving the above error(s).

    /wordpress/wp-content/plugins/facebook-page-publish-2/diagnosis.php
    Reports that Everything looks fine in both areas.

    Please help, I would hate to drop support for this wonderful plugin.

    Relieved to have sorted it out at last. Massive thanks to jurajpuchky.

    Solution:

    1. Deactivate, and then delete the existing plugin.

    2. Download this file.

    3. Upload and install the new file.

    It should be all right now.

    @jurajpuchky, can you explain what did you changed/altered/added in the code?

    Also, can same fix be applied to version 2 of the plugin?

    I’m sorry but this plugin SUCKS, I’ve done everything mentioned 5 times and I’m tired of it and it’s deleted now.

    @jurajpuchky: It worked fine for me.

    But I had a question. Which lines should I comment out in the fpp_index.php (you provided) to ensure that the plugin does not generate Facebook Open Graph meta tags?

    I want to use another plugin to generate them.

    Jetpack offers this functionality in it’s ‘Publicize’ module, and is actively maintained.

    railcrew,

    Do you use another plugin to post in facebook?

    Anyway, I have found out how to disable Open Graph.

    Commenting out

    add_action('wp_head', 'fpp_head_action');

    and

    function fpp_head_action() {
            global $post;
    
            if (is_object($post) /*&& ($post->post_type == 'post') */ && is_singular()) {
                    fpp_render_meta_tags($post);
            }
    }

    in fpp_index.php did the trick for me.

    Thanks to jurajpuchky once again. I guess those who still can’t get it to work properly do not have their application properly set up.

    Cadfile has solved this issue for me in my website situation…

    As far as I can tell from the information I can find this error is completely on Facebook’s end. They broke something.

    When I wrote my post all my scheduled posts were failing with the 1500 error but later it started to work again.

    I also made sure my OG tags were perfect by running a url through the debugger and I did have an issue with a post which might have tripped the failure. I had too many duplicate OG tags. I could be that Facebook wants a stream post to be perfect code wise.

    https://developers.facebook.com/tools/debug

    My concern is the author of this plugin hasn’t chimed in at all since these error posts showed up. Even if it is something they can’t fix which I believe is the case they should at least post here and say that officially.

    Original response is here:
    https://www.ads-software.com/support/topic/unexpected-error-1500?replies=5#post-4304159

    ive been getting the same problems, i found that it does post to facebook when i publish there and then, but seems to fail on scheduled posts

    @duskom added and modified code is commented

    i never changed a thing on mine, and its all working fine again now…. must have been facebook error or something

Viewing 15 replies - 31 through 45 (of 49 total)
  • The topic ‘Facebook returned an unexpected error: (#1500) The url you supplied is invalid’ is closed to new replies.