Topic-icon Autopost on first login

Active Subscriptions:

None
10 years 7 months ago #37108 by sougatab
Replied by sougatab on topic Autopost on first login
Alex,

It'll be great if you can create this feature in the next release.

We have created a button for open graph action. On clicking the button, the FB app appears for the required permissions. Also the pop up appears to post to timeline. After that the message doesn't post to timeline. Also I guess some notification should appear to inform the user that a message has been posted to the user's timeline. No such notification is seen. Can you please guide on what can be the probable reasons for this issue?

Thanks!
The topic has been locked.
Support Specialist
10 years 7 months ago #37128 by alzander
Replied by alzander on topic Autopost on first login
Can you go to the JFBConnect configuration -> Misc area and enable the "Enable Debugging" setting? Then, if the action doesn't post properly, a popup message should appear with a reason why.

Alternatively, look at the JFBConnect -> Open Graph -> Activity Log area and see if it looks like the action was attempted to be posted and/or if there's any error message there as well.

Let me know if that helps you narrow things down or not and we'll gladly try to help more.

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

None
10 years 6 months ago #37659 by sougatab
Replied by sougatab on topic Autopost on first login
Hi Alex,
I enabled debugging in JFBConnect. When I post to facebook I get this error "Error: Action is not associated to the object type of this page.".
What can be the possible reason for this?

Thanks!
The topic has been locked.
Support Specialist
10 years 6 months ago #37660 by alzander
Replied by alzander on topic Autopost on first login
When you create the Action in JFBConnect you have to associate it to the objects you've created. There should be a section with checkboxes at the bottom of the action setup area that shows all of your objects. Make sure that the Action is connected to the Object type (the page) you're trying to use the action on.

I hope that makes sense, but if not, let me know.

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

None
10 years 6 months ago #37673 by sougatab
Replied by sougatab on topic Autopost on first login
Hi Alex,
We have created a custom action and associated it with a custom object type. The checkbox at the bottom of the action setup area is also checked. We are using it in a article.
Also there is one more issue. When we enable the opengraph plugin for articles all pages except the homepage stop working.
Thanks!
The topic has been locked.
Active Subscriptions:

None
10 years 6 months ago #37691 by sougatab
Replied by sougatab on topic Autopost on first login
Hi Alex,

Please check your inbox for admin login details.

Thanks!
The topic has been locked.
Support Specialist
10 years 6 months ago #37735 by alzander
Replied by alzander on topic Autopost on first login
Thanks for sending the credentials. When I enable Error Reporting in Joomla and then enable the plugin, the following error message is shown on your content pages:
Fatal error: Call to undefined function mb_split() in /home/wwwinour/public_html/libraries/sourcecoast/articleContent.php on line 357
The mb_split function is commonly installed and enabled in all versions of PHP, but your site doesn't seem to have it. To fix, please try editing libraries/sourcecoast/articleContent.php and at line 357, you'll see:
$parts = mb_split('\s+', $articleText);
Replace that with:
if (function_exists('mb_split'))
   $parts = mb_split('\s+', $articleText);
else
   $parts = preg_split('\s+', $articleText);
Try that and let me know how it goes.

If you're using the Open Graph Action in an article, you'll need that plugin enabled, which hopefully the above will fix.

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

None
10 years 6 months ago #37741 by sougatab
Replied by sougatab on topic Autopost on first login
Hi Alex,
Thanks for the awesome support. Both issues are now fixed.

Thanks!
The topic has been locked.
Support Specialist
10 years 6 months ago #37749 by alzander
Replied by alzander on topic Autopost on first login
No problem for the help, and thanks for the feedback. I've entered that issue into our tracker and the fix I provided should be in our next release as well.

Thanks,
Alex
The topic has been locked.