Topic-icon Open Graph Problem with 5.1.1

Active Subscriptions:

None
Hello,

I'm using the read-operation from open graph to post read-actions to the facebook-timeline.

When you visit a page, which is already posted to the facebook-timeline you get a notification, whit that info. At this notification there are two links and this links doesn't work. They link to: http://url/component/jfbconnect/?controller=opengraph and to http://url/component/jfbconnect/?controller=opengraph&task=userDelete&actionid=22 and i get a Error 500. I think they should linkt to http://url/component/jfbconnect/?view=opengraph

Marcus
The topic has been locked.
Support Specialist
12 years 9 months ago #36384 by alzander
Marcus,
Thanks so much for pointing that out. That's an issue we hadn't heard about yet. This will definitely be fixed in the v5.1.2 release, due out around mid-September.

If you want to fix now, that incorrect link is in the /libraries/sourcecoast/openGraphPlugin.php file at line 196. The correct line that should be there is:
'<span class="ogOptions"><a href="' . JRoute::_('index.php?option=com_jfbconnect&task=opengraph.userdelete&actionid=' . $data->id) . '" target="_blank">' . JText::_('COM_JFBCONNECT_OPENGRAPH_ACTION_DELETE') . '</a>' .
I hope that helps, and thanks again for the report,
Alex
The topic has been locked.
Support Specialist
12 years 9 months ago #36385 by alzander
Actually, both links are incorrect in that popup box. The updated code at line 197 should be:
'<span class="ogOptions"><a href="' . JRoute::_('index.php?option=com_jfbconnect&task=opengraph.userdelete&actionid=' . $data->id) . '" target="_blank">' . JText::_('COM_JFBCONNECT_OPENGRAPH_ACTION_DELETE') . '</a>' .
' | <a href="' . JRoute::_('index.php?option=com_jfbconnect&view=opengraph&layout=activity') . '" target="_blank">' . JText::_('COM_JFBCONNECT_OPENGRAPH_ACTION_SEE_ALL') . '</a></span>' .
That will fix both links.

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

None
12 years 9 months ago #36406 by fb_100000792291055
Hi,

Thank You. I fixed it on my page.

Marcus
The topic has been locked.
Support Specialist
12 years 9 months ago #36414 by alzander
Marcus,
Awesome! Glad to hear that worked for you. As noted, that will be fixed in the v5.1.2 release as well.

Thanks again for the report,
Alex
The topic has been locked.