Topic-icon Create post with FB channel doesn't work after update to 6.2.4

Active Subscriptions:

None
Hello,

after JFBConnect update to version 6.2.4 I'm not able to create post with social toolbar on Facebook page. After click on "Post" the response is: "Post to Facebook Page was successful", but no post appears on the Facebook page.
Channel new setting are set to default: Show Only Admins - True, Allow Posting - True
(I tried to set Show only Admins to false, but nothing changed.)
Stream test in channel is ok - display post correctly.

Posting with social toolbar works correctly with version 6.2.3 and post to twitter works without any problem in both versions.
(FB page and web: www.facebook.com/pages/Dobr%C3%A9-N%C3%A1pady-info/376782093865, www.dobre-napady.sk/)

Do you have any hint to solve this problem?

Thank you & best regards,
Maria
The topic has been locked.
Support Specialist
11 years 5 months ago #50066 by mel
Maria,

1. Could you provide the URL of the page you're on and trying to post to Facebook?
2. Please double-check that a) the Facebook Page that you have configured in the channel is definitely the page that you're looking at in Facebook and b) the post does not show up in the Page's activity log. To get to the full activity log, click the Activity tab and then the link for Activity Log. The items in the Test Steam section in the Channel are pulled directly from Facebook. Therefore, if the new post is listed there, Facebook thinks that it has been successfully posted.
3. The 'Show Only Admins - True' option is only for pulling the items back from the stream and viewing with the SCSocialStream module. It would not affect posting at all.

-Melissa
The topic has been locked.
Active Subscriptions:

None
11 years 5 months ago - 11 years 5 months ago #50074 by majka_a
Hello Melissa,

the post with social toolbar through FB channel doesn't work generally on my web. I tried post many pages including the main page.
The FB page is correct, channel is set correctly too.
After downgrade to 6.2.3 it works.

Maria
Last edit: 11 years 5 months ago by majka_a.
The topic has been locked.
Active Subscriptions:

None
Hello,

the additional information after some debugging:
The difference between posting in version 6.2.3 and 6.2.4 is in parameter "access_token". (Post with version 6.2.3 works)

Maria
The topic has been locked.
Support Specialist
The 6.2.4 release updated how the access token is stored and used by JFBConnect for the user that the channel is configured for. Please try the following:
* Re-authenticate using Facebook on your site with the user that owns the Channel. That should fetch and store the latest token and hopefully get things working.
* If not, please delete the Channel you created and create a new one. Re-setting up the parameters in a new channel should clear out any issues or problems that may have occurred during the upgrade process.

Please let us know how that goes,
Alex
The topic has been locked.
Active Subscriptions:

None
Hello Alex,

I reauthorized user, the user access token was in db updated, then I created new channel, but it still doesn't work.

Here is the token informatin from fb access token debugger:
Access Token Info
App ID 543045102456148 : Dobré Nápady
User ID
1850364240 : Maja Benackova
User last installed this app via API v1.0
Issued 1393589923 (about 10 months ago)
Expires Never
Valid True
Origin Web
Scopes public_profile, basic_info, email, manage_pages, publish_actions, user_website, user_friends


It seems that everything is ok, but old token - stored in old channel has the following debug information:
Access Token Info
App ID 543045102456148 : Dobré Nápady
Profile ID 376782093865
User ID
1850364240 : Maja Benackova
User last installed this app via API v1.0
Issued 1393589923 (about 10 months ago)
Expires Never
Valid True
Origin Web Canvas
Scopes public_profile, basic_info, email, manage_pages, publish_actions, user_website, user_friends


The old one has profile ID and other origin.
I manually changed the user token in db to the old token and post is working.
Do you have any idea to solve this?

Thank you,
Maria
The topic has been locked.
Support Specialist
Wow, great sleuthing. I really don't know what's happening there or why the 'old' token is working. With 6.2.4, we changed how the Channels grab the authentication token. Previously, we stored the token with the Channel and never update the token when a user authenticated. That was a problem since it meant some tokens could eventually expire and would never be updated.

It sounds like the new tokens being issues from Facebook aren't working for posting for you, whereas the old was. I don't know if this is an issue with the new version of JFBConnect specifically, it seems like there's just something wrong with the new token.

Your solution was a great one and should get you going, but should you run into any other issues, just let me know.

Thanks,
Alex
The topic has been locked.