Topic-icon Open Graph Configured and nothing is published on wall Just Log-IN

Support Specialist
Oh, also, go into the Configuration area and turn off the Show Facebook API Errors On Front-End setting. That should be disabled under normal operation unless you're trying to diagnose problems.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 9 months ago - 12 years 9 months ago #35345 by Eduardo
Hello Alex, my submit is failed again, i copy the mesage to you have a look for me... This is a problem of component ? If you could give a kill process to erase any trace of posts to solve this problem and publish my action, you make me very happy, because i will be honest with you, i'm close to give up of this thing!!! :(


Changes Needed
Please address the following feedback from our review team.
Once you have made the changes listed below you may resubmit for review.
Thanks for making changes to your submission.
This action type still doesn’t meet our criteria to become available to users.
Here are the remaining changes that you need to make to your action type:
Read actions may only be published when: a) you allow users to remove any read stories you publish to Facebook and include this option on the same page where you host the article.

I tried testing this feature of removing read stories and an error occurred.
See more about read actions: developers.facebook.com/docs/opengraph/guides/books.reads/.
Thanks for developing with Facebook, Laura
Last edit: 12 years 9 months ago by Eduardo.
The topic has been locked.
Active Subscriptions:

None
12 years 9 months ago - 12 years 9 months ago #35346 by Eduardo
Hello Alex, i made some changes and submit again, but I found a bug on JFBC, clicking on See All Activity and try configure actions that can the site uses, uncheck the action LER, nothing happens, and actions continues publishing on facebook.

I attach the image with screen on error happens, I uncheck, update settings, and nothing happens

Last edit: 12 years 9 months ago by Eduardo.
The topic has been locked.
Active Subscriptions:

None
12 years 9 months ago - 12 years 9 months ago #35347 by Eduardo
Alex, I send again, and this time, facebook give me an error on your component, that follows:

Changes Needed
Please address the following feedback from our review team.
Once you have made the changes listed below you may resubmit for review.
I reviewed your action type again, but haven't been able to find significant changes to your submission.

It still doesn’t meet our criteria to become available to users.


Please make the following changes in order for your action type to become available to users:

I get the following error when trying to remove a story: Fatal error: Call to a member function get() on a non-object in /home/angels/public_html/models/components/com_jfbconnect/controllers/opengraph.php on line 122


This is the part of code that Laura refers:
        if ($response->status)
            echo $response->message;
        else
        {
            $jfbcLibrary = JFBConnectFacebookLibrary::getInstance();
            $configModel = $jfbcLibrary->getConfigModel();
            if ($configModel->getSetting('facebook_display_errors') && $response->message != "")
                echo "Error: " . $response->message;
        }

        exit;
    }

Thanks for developing with Facebook,

Laura
Last edit: 12 years 9 months ago by Eduardo.
The topic has been locked.
Support Specialist
Eduardo,
Thanks for adding me as a developer to your Application. I was able to test more thoroughly now. On the "Allowed Actions" page, when I uncheck a box and hit save, the settings are properly saved. Not sure why that isn't working for you.

I am able to recreate the Fatal Error. The block of code that the error is happening in is actually:
private function disableAction($id)
    {
        $user = JFactory::getUser();
        $userModel = JFBConnectModelUserMap::getUser($user->get('id'));
        $ogDisabledActions = $userModel->params->get('og_actions_disabled', array());

        $actionModel = $this->getModel('OpenGraphAction', 'JFBConnectModel');
        $action = $actionModel->getAction($id);
        $actionId = $action->id;
        if ($action->can_disable)
            $ogDisabledActions->$actionId = 1;
        $userModel->saveParameter('og_actions_disabled', $ogDisabledActions);
    }
Please update the top of that block so it looks like:
$user = JFactory::getUser();
        $userModel = JFBConnectModelUserMap::getUser($user->get('id'));
        $userData = $userModel->getData();    // ADD THIS
        $ogDisabledActions = $userData->params->get('og_actions_disabled', new stdClass()); // UPDATE THIS
Leave all the rest of that code the same. That should fix the Fatal Error message and this fix will be included in the next JFBConnect release as well.

Once that's done, the delete action should work. As always, please test.. or let us know when the change is made, and we'll test a lot.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 9 months ago - 12 years 9 months ago #35357 by Eduardo
Hello Alex, I made the corrections, but, i can't simulate the error, and I don't want re-submit the action until know if the error was solved, so, please can you test for me?

I'm asking for you to test, because how could you see above, I can not see this error has


-- And welcome as administrator of my application --

I am waiting your response to re-sumbit the action... thank's!!!!
Last edit: 12 years 9 months ago by Eduardo.
The topic has been locked.
Support Specialist
That did fix the error. I just went into JFBConnect and disabled the other Actions (just to avoid confusion) and enabled the "User Can Disable" setting on the Ler action.

Next, I looked at your submission as well in the Developer area. Below is the text I'd use to resubmit:

Steps to post an Open Graph 'news.reads' action to the Timeline
1 - Access www.contangels.com.br (Image 1)
2 - In the top right, login with Facebook Credentials. (Image 1)
3 - Navigate to www.contangels.com.br/models/index.php/n...teceu-no-ultimo-spfw (Image 2)
* This is available from the "News" menu item
4 - After about 15 sec the blue box will appear in the bottom right corner of screen. In the box is an option to delete the action or to see all actions that have been posted to the user's Timeline. (Image 2)
5 - In the blue box, selecting "See all activity" will allow the user to delete any actions that have been posted to their Timeline. (Image 3)
6 - In the blue box, selecting "Delete and Disable" will delete the just-posted read action (named "Ler") and bring the user to a page where they can disable future Open Graph Actions (Image 4)
7 - If disabled, when you navigate to the same page, or any other page, in the News section, the news.reads action will be posted for the user.

Finally, if a user visits a page that has already been posted to their Timeline, a notification blue box will appear in the bottom right letting them know when it was posted. There is also a link in the box to See All Activity, where they can delete the action and navigate to their overall Open Graph settings to disable future sharing.


Just so you know, I went into your App, opened up most of your users and deleted their Facebook Activity, so they should be ready to be tested with by the approver.

Let me know how that goes.. and good luck,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 9 months ago - 12 years 9 months ago #35386 by Eduardo
Open Graph Review resolvido há 4 horas
Sua ação Read foi aprovada para CONTANGELS. Obrigado por sua submissão.

Hello Alex, I'm here to thank, and apologize if at any time I rushed the process and said or did something that did not please him, for I confess that in some parts of the process, I thought not possible to make it work, but it's working, now I again go follow all the steps and create new stories for this and several other sites, thank you very much, and I hope my post helps others, because as we can see, the problem in the code was our biggest challenge, overcome!! Thank you so much for everything, especially for your patience!!
Last edit: 12 years 9 months ago by Eduardo.
The topic has been locked.
Active Subscriptions:

None
12 years 9 months ago - 12 years 9 months ago #35395 by Eduardo
Hello again Alex, we have a small problem, it may not be a problem, what happens is that even when approved, the action of reading, is not published in my time line is the same, only the record activities, what should I do to make the action go to the timeline?

I found this on actions review process screen
Last edit: 12 years 9 months ago by Eduardo.
The topic has been locked.
Support Specialist
I'm not sure why there's the notice at the top about "This action type may have changes that have not yet been approved". If you've changed any settings about the action, it needs to go through the approval process again.

As for why it's not always showing in the Timeline, that's because any actions posted will always go in the Activity Log. From there, Facebook decides how it should be shown based on many factors. It can go into your Timeline, news feed, friends ticker, and more places. Ultimately, Facebook chooses if it goes in the Timeline based on who's viewing the Timeline and if it's of importance to that viewer. Additionally, any user can go into their Activity Log and force an action on their Timeline, but the default is "Let Facebook Choose".

The upcoming v5.1 release will support 'explicit actions', which are actions that will always post on a user's Timeline. Those actions must be pushed there by a user, and not automatically posted though.

In general though, without the user going out of their way to put something on their Timeline, there's no way to guarantee it will show there. The more actions your app posts though (to all users), the better quality your app will look and the higher the likelihood of those actions appearing on user's Timelines.

I hope that explains,
Alex
The topic has been locked.