Topic-icon Problem posting to a facebook page.

Active Subscriptions:

None
8 years 10 months ago #53256 by fkerasar
Hi,

I was trying to post from my site to my facebook business page (following the instructions here : www.sourcecoast.com/jfbconnect/docs/posting/to-social-networks) with jfbconnect 6.3.0 and my posts were appearing in the "posts to page" sidebar box, not in my timeline or home newsfeed as I wanted

Now I upgraded to jfbconnect 6.4.0 hoping this would be fixed, but now I cannot post at all. I follow the procedure, I get the message that the post was successful, but no post appears anywhere.

I'm posting from my site using the account that is linked to my facebook account which owns the page. Please help me.

NOTICE : I'm working with a localhost development site.
The topic has been locked.
Support Specialist
8 years 10 months ago #53260 by alzander
In JFBConnect 6.4, we changed the way that posts are made to Facebook Pages to always be 'from' the Page itself, not from a user account. That's how it worked on about 90% of sites already, but some sites were seeing the posts go to the "Posts to Page" area, like you describe. That isn't what most users want, since they're trying to push content to their feed.

If you want the posts to appear as from your user account and not directly in the Timeline, please edit the following file:
/components/com_jfbconnect/libraries/provider/facebook/channel/page.php
Around line 135, you'll see:
$params['access_token'] = $this->options->get('access_token');
        //NOTE: Uncomment to use user access token instead of page access token
        //$params['access_token'] = JFBCFactory::usermap()->getUserAccessToken($this->options->get('user_id'), 'facebook');
Uncomment that last line by removing the // from the front of it.

Test and let us know how that goes. We may add an option in a future release to select whether posts are from the Page itself or from the user account.

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

None
8 years 10 months ago #53267 by fkerasar
I tested the uncommenting and it works exactly as you said.

Thank you.
The topic has been locked.
Support Specialist
8 years 10 months ago #53304 by alzander
Thanks for the feedback on that line of code. I've added it to our to-do list to add an option for posting by as the user or as the admin to a future release.

As always, if there's anything else you're looking for or have feedback on, please let us know.

Thanks,
Alex
The topic has been locked.