Topic-icon No Stream Data found

Support Specialist
10 years 8 months ago #54938 by alzander
Replied by alzander on topic No Stream Data found
Picht,
We really apologize for the delay. I tried to login to your admin area tonight, but am getting the "Username and password do not match or you do not have an account yet.". If you disabled our account, can you re-enable it? If you didn't, can you double-check the credentials you sent?

We'll gladly take a look once we can get in and investigate further.

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

None
10 years 8 months ago #54945 by picht
Replied by picht on topic No Stream Data found
Hi

The credentials work fine, i just tried them.

Be aware there are 2 different credentials; one for FTP and one for Joomla

Regards
Picht
The topic has been locked.
Support Specialist
10 years 8 months ago #54961 by mel
Replied by mel on topic No Stream Data found
Putting some debugging statements on your site, it looks like there are two issues when the channel is attempting to post to the FB page:

1. Facebook is returning the following error:

(#200) The user hasn't authorized the application to perform this action

This indicates to me that your channel owner has not granted both the manage_pages and publish_actions permissions for your Facebook application. Please log into your front-end using your FB credentials and make sure to grant for both of those permissions. If you don't get any more prompts, you can either
A) Delete the JFBConnect usermap connection for your user and delete the channel. Then login via your Joomla credentials and re-connect to your FB account. Then create a new channel. It shouldn't take too long to reset these up, and you won't have to wait for us if the permissions aren't prompting.
B) Go into your user on FB > Settings > Apps > your app to see which one is missing, and we'll go from there.

2. The way JFBConnect is checking to see whether the posting has succeeded is not quite correct, so we're saying that it succeeds even though it fails. I've made a quick change for your site and have also created an issue in our tracker to address this in a future release.

-Melissa
The topic has been locked.
Active Subscriptions:

None
10 years 8 months ago #54962 by picht
Replied by picht on topic No Stream Data found
Hi Melissa

I looked at the FB app settings and the permissions were granted (see attached file)

Then i deleted the channel, the user map and the user from Joomla.
Revoked all the permissions from the app on FB.

Created a new channel with a new user and user map.
I was prompted to give the proper permissions (manage and post) and gave the permissions.

All looked fine, but posting is still failing...

Regards
Picht

File Attachment:
The topic has been locked.
Support Specialist
10 years 8 months ago #54966 by mel
Replied by mel on topic No Stream Data found
Thanks. When attempting to post via your user or the page itself, I see that the tokens have those permissions. However, it's still not posting, as you've said.

It looks like in Facebook's API v2.3, there is a new permission for posting on behalf of a page, publish_pages. Our guess is that maybe this has something to do with the problem. However, we haven't had anyone else run into this yet, so Alex and I are a little confused. I have made a couple small code changes in JFBConnect on your site to add this, so you will need to re-authenticate and grant the new permission. Let me know when you do this and I will proceed with testing again.

-Melissa
The topic has been locked.
Active Subscriptions:

None
10 years 8 months ago #54967 by picht
Replied by picht on topic No Stream Data found
Hi

I have removed the permissions from my FB page and tried to reauthenticate.
First the normal authentication and then it continued to the other 2 permissions. After that i ended in a redirect loop.

Then i removed everything on both FB and Joomla and created the user etc. in Joomla again linke in my previous post, but still not posting.

The FB API version i use is 2.4

Regards
Picht
The topic has been locked.
Support Specialist
10 years 8 months ago #54968 by alzander
Replied by alzander on topic No Stream Data found

Then i removed everything on both FB and Joomla and created the user etc. in Joomla again linke in my previous post, but still not posting.

Did you recreate the Channel in JFBConnect? We realized that our update in the code would require the Channel to be recreated so that the user (Facebook Page Owner) would have the new permission required of them on the next login. If you did recreate the channel already, then we'll need to investigate some more.

Sorry for all the back-and-forth. We want to get this going as much as you do.

If this doesn't work, the next step would be to add Melissa or I as admins to your Facebook App. To do that, go to the Facebook Developer Area , click into your app -> Roles. Then, add either of IDs to the Admin (preferrably) or Developer (still should work) roles:
Melissa - 100001459784756
Alex - 1251253607

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

None
10 years 8 months ago #54970 by picht
Replied by picht on topic No Stream Data found
Hi

Yes i did delete and recreate the Channel also.

I have added both of you as admins on the facebook app. Have fun :)

Regards
Picht
The topic has been locked.
Support Specialist
10 years 8 months ago #54998 by mel
Replied by mel on topic No Stream Data found
It seems as if posting to your page is working now that we're requesting the new permission correctly.

1) I reverted my code change for reporting success/fail because it was now reporting fail when actually passing.
2) Since you deleted your channel and recreated another one, I reset your SCSocialStream module to point to the new channel.
3) You can see the two posts in the stream module now, which I used the 'Create Post' toolbar item to post.

I will be checking in my code changes for the new permission for the next JFBConnect release. Can you test further and let me know if you run into any more difficulties with posting please? Thanks for your patience.

-Melissa
The topic has been locked.
Active Subscriptions:

None
10 years 8 months ago #55004 by picht
Replied by picht on topic No Stream Data found
Hi

It works now, thanks :D

I have some more questions, but i will create another thread on the forum for those.

Thanks again

/Picht
The topic has been locked.