Troubleshooting Oneall feeds

alt=
DannyA
@dannya
10 years ago
584 posts
I am trying to get oneall working for posting notification of new feed items. I have a couple of issues and not sure how to troubleshoot.

1. A user is not able to add a network (twitter). From the networks tab in account settings, after logging in to twitter, I get a message that says "The social profile is linked to by another user.

I go to the oneall tools in ACP, and there is no user connected to twitter. I suspect it might have been linked in a previous install, but I'm still not sure how to check and/or unlink the account.

2. I was able to link to Facebook, however nothing appeared in the facebook feed. Is there a log or someplace i can check to see why it didn't post?
updated by @dannya: 09/04/14 09:10:07PM
michael
@michael
10 years ago
7,717 posts
#1 try unlinking any accounts at twitter.

#2 things that don't happen usually don't get logged unless its an error. Errors will appear in the error log in the ACP or there might be something in the activity log.

In the case of twitter, when creating a new audio file, if you check the checkbox for "post to twitter" it should get posted. If you don't check that checkbox "audio file was not posted to twitter" is not logged anywhere.
alt=
DannyA
@dannya
10 years ago
584 posts
1. Tried unlinking at twitter. Same result.

2. I am using a custom skin and i don't have "post to twitter button". I DO have a "add to timeline" checkbox; and I can confirm it is actually added to feed. Do i need a separate button for social? I thought anything added to your feed automatically went to ALL you oneall social networks. (It would be silly to have one for each one).
michael
@michael
10 years ago
7,717 posts
my create audio looks like this:

--update--
there is a post to twitter icon on there. dont have facebook connected, just twitter.
jpg
 •  47KB


updated by @michael: 07/14/14 08:28:14PM
alt=
DannyA
@dannya
10 years ago
584 posts
So I have a couple of issues still

1. I have made sure there the app is not linked to my twitter account and i am still getting an error "The social profile is linked to by another user." There is nothing in error logs and i still don't know how to troubleshoot this.

I tried this again on another account and the problem is still there. It seems that even if I "delete" the link using the oneall module tools, it is not releasing the user; so the user cannot link again. It's as if the profile is not being released in the JR db.

2. I am using custom audio modules. However if I understand correctly what you are telling me, oneall is set up to work with JRAudio. This has been happening with numerous modules that are integrated/dependent on JRAudio. There is no documentation on this. And it creates hours of troubleshooting. Can someone document when a module is dependent on another and how?
updated by @dannya: 07/17/14 12:41:22AM
michael
@michael
10 years ago
7,717 posts
take a look at

"Events and Listeners"
https://www.jamroom.net/the-jamroom-network/documentation/development/1011/events-and-listeners

The audio module is registered to listen for the 'action_support' event. Is your module.

Dependencies of a module are registered in a modules _meta() function.

It will look like this:
'requires'    => 'jrCore:5.1.0',

but the jrAudio module does not require jrOneAll. jrOneAll merely taps into any modules that are listening for the actions system.

Your not going to like the answer, but the best place to understand whats going on is by looking at the code.
alt=
DannyA
@dannya
10 years ago
584 posts
Ok, but this aside, I still have the original 2 problems and no way to troubleshoot this.

1. A user is not able to add a network (twitter). From the networks tab in account settings, after logging in to twitter, I get a message that says "The social profile is linked to by another user.

I go to the oneall tools in ACP, and there is no user connected to twitter. I suspect it might have been linked in a previous install, but I'm still not sure how to check and/or unlink the account. I have checked twitter settings and the account is unlinked to oneall.


2. I was able to link to Facebook, however nothing appeared in the facebook feed. There is an error in activity log "jrOneAll error 400 sharing to facebook: Your request could not be processed due to an error". Not sure what to do with that though.
michael
@michael
10 years ago
7,717 posts
Do one thing at a time.
andersda:...I get a message that says "The social profile is linked to by another user....

Seams to me to mean the account you are trying to link to already has a link to it and you are not allowed to have two accounts linking to it so remove the other link before you try to create a new link.

Which would be done in the settings page on the twitter account that is complaining.

I don't have all the answers. I will try to help you find them.
alt=
DannyA
@dannya
10 years ago
584 posts
Thanks. like i said above, i have checked unlinked from the settings in the twitter account. I have also checked the module tools settings and "deleted" any link there. But i still get the error.

It's strange too, because after i make sure both the links are cancelled, when I try to re-link the account, it seems that i am able to authorize the twitter account. When I go into my twitter settings again, i can see the oneall app has been authourized again. However JR still gives me an the error and does not link the account.
michael
@michael
10 years ago
7,717 posts
When I try to click the twitter box in "Account Notifications" which already has a checkmark on it, I get this popup. do you see the same? What steps are you taking to get to the error each time.
jpg
 •  32KB


updated by @michael: 07/21/14 10:15:02PM
alt=
DannyA
@dannya
10 years ago
584 posts
Here is how i reproduce the error (with screenshots). I uploaded doc with screenshots. You can also pm me and i can give you credentials to log in and see for yourself. If you want to skype, I can do a screenshare and walk you through it.
pdf
oneall problem 1.pdf  •  136KB


updated by @dannya: 07/21/14 11:07:52PM
alt=
DannyA
@dannya
10 years ago
584 posts
I'm not positive about this, but you might also reproduce the issue on your own system by unlinking twitter from one of your user accounts and trying to link to the same twitter account with a different jamroom user.
alt=
DannyA
@dannya
10 years ago
584 posts
With facebook, the account is linked, but on when i try to share something, i get an error on the network page:

provider date message delete
facebook 07/23/14 03:30:00
The provider did not accept the message: you do not have the permission to post on behalf of the user
douglas
@douglas
10 years ago
2,791 posts
Did you create the apps on Twitter and Facebook as described in your Oneall account?


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
alt=
DannyA
@dannya
10 years ago
584 posts
yes. At least according to the oneall documentation.
updated by @dannya: 07/23/14 10:06:14AM
douglas
@douglas
10 years ago
2,791 posts
I just set this up for my localbandz.com site, Twitter and Facebook, and I'm not seeing any issues.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
michael
@michael
10 years ago
7,717 posts
I tried out the theory that 2 jamroom accounts cant be connected to a single twitter account. The result was false.

I created a jamroom account 'one', then another account 'simon'.

Logged into 'one'. Connected it to a twitter account. Posted to my activity log. The tweet showed on twitter. Logged out.

Logged into 'simon'. Connected it to the same twitter account. Posted to my activity log. The tweet showed on twitter.
alt=
DannyA
@dannya
10 years ago
584 posts
Ok. I can't reproduce except with this one account so i will keep an eye on it for now and see if i can figure it out.

In the meantime, the inability to post to facebook is more critical.

When i look at the oneall instructions for configuring FB https://app.oneall.com/applications/application/providers/provider/setup/?applicationid=248102&providerid=1 , in the section where you configure your FB app (#7), I noticed the details for "status and review" only say you have to turn it on

"Do you want to make this app and all its live features available to the general public: YES"

However, I noticed this only gives basic permissions (email, public profile, user friends). If you want "publish actions" you need additional permission. In order to do that you have to submit a lot more info and fb has to approve.

Has anyone had to do that in order to let the user post to FB?
jpg
 •  86KB


updated by @dannya: 07/23/14 04:36:55PM
alt=
DannyA
@dannya
10 years ago
584 posts
Additionally, once you DO provide Facebook all the additional info they request so that your app may execute publish actions. It takes up to 7 days to get it approved.

Either I'm doing some thing wrong, or there is a lot missing in the configuration documentation. Can anyone tell me if theyhad to go through this process to be a ble to post to FB?
michael
@michael
10 years ago
7,717 posts
I've only set it up so far to post to twitter, then setup twitter to post to a facebook page.

Didn't have to wait a week for that.

--update--
The docs for the API don't directly specify any additional setup:
http://docs.oneall.com/api/resources/social-sharing/

When I click on the FACEBOOK page at oneall.com it gives me:
Quote: Several features are currently disabled and cannot be used. To enable these features you have to setup your application for Facebook. This is a one-time process that will take only a couple of minutes. Our guide will help you setup your application. Let's get started!
so no 7 days there either.
updated by @michael: 07/24/14 10:43:11PM
alt=
DannyA
@dannya
10 years ago
584 posts
Yes. It doesn't say anything about the "Publish actions" requirement. So maybe its not needed. However the dilema still exists: "Why am I not allowed to post on behalf of the user?"

@douglas can you confirm if you had to take any additional steps to set up the FB app beyond what is described in the oneall docs?

Who wrote this module? There has to be some way of troubleshooting this
updated by @dannya: 07/25/14 10:12:46PM
douglas
@douglas
10 years ago
2,791 posts
I just followed the steps provided by Oneall, no extra steps were taken, and it was working.

However... Now I'm now seeing an issue with the module as I'm getting error messages stating that Oneall can't post to Facebook, Twitter or Google+, so something is not working riht now and we'll have to take a look at it.

I've got a post in the issue tracker.

https://www.jamroom.net/the-jamroom-network/tracker/658/oneall-activity-errors

Thanks!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
brian
@brian
10 years ago
10,148 posts
andersda:
Who wrote this module? There has to be some way of troubleshooting this

I wrote the module. One thing that is really important to understand is that the module plays no role in posting to anything. All it does is send a request to OneAll on behalf of the user to perform the action. There's literally 500 different things that can go wrong from that point on (i.e. any change to any API between OneAll and whatever provider you want to perform the action on, and account changes by the user, and app changes by the user, etc.).

If it is NOT working, but WAS previously, I would recommend contacting OneAll, or check your OneAll account and see if you see any issues.

Note too that Twitter (for example) has API limits, and I've seen OneAll hit the API limit call and posts no longer will be posted to twitter until the following day.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
DannyA
@dannya
10 years ago
584 posts
What would be helpful is to at least be clear on the configuration process. A number of people mentioned they have facebook sharing working. I have a simple question:

1. When you create the FB app, did you need to make a request for Publish_action permissions?

2. If so, how did you describe how Jamroom uses the oneall module in the request?

I have submitted the request twice, and they keep rejecting it without much explanation what information they are looking for. I have submitted screen shots of jr and a step by step process to configure networks and "share on facebook". Still rejected. And at this point i don't even know if i need to be going through all of this.

Hoping someone who has set this up can provide guidance because the Oneall module documentation does not address any of this.
brian
@brian
10 years ago
10,148 posts
What is being rejected? Is it when you are trying to create the app or is it a customer?

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
DannyA
@dannya
10 years ago
584 posts
When trying to create the app.
To review:
When a JR user tries to submit to FB, you get an error "The provider did not accept the message: you do not have the permission to post on behalf of the user" (see screenshot)

What is being rejected is my FB app linked to oneall. Specifically, I am requesting from FB permission to submit content to a user's Facebook wall (publish_action) on behalf of the jamroom user.

I am still trying to clarify if anyone has had to request this permission from FB at all. It's not clear in the oneall documentation or in the module documentation.

I'm starting to get a little frustrated here. I've spent 2 weeks going in circles with this; posting here, oneall support, and FB support and nobody has any answers. So either nobody has this working or nobody has tried. But with 3 parties in the mix, nobody wants to take ownership.
jpg
 •  65KB


updated by @dannya: 08/01/14 01:02:02PM
michael
@michael
10 years ago
7,717 posts
Tried to setup a dev site for this today but facebook just makes it soo difficult. Test users are not allowed to create apps.

Here is a screenshot of the settings page. Make sure you have checked the allowed to post to stream setting if your wanting to post to the users stream.

( screenshot )

If you check that then you will also need to follow the instructions at the top which read:
Quote: Please note that your app has to be reviewed by Facebook if you want to access data outside of the Basic Profile Data group.

Have you done that part?
screenshot_oneall.png
screenshot_oneall.png  •  160KB


updated by @michael: 08/01/14 11:38:07PM
alt=
DannyA
@dannya
10 years ago
584 posts
I was't sure if we needed to do that; which is one of the things i was trying to confirm.

But yes, that is exactly what i did. After supplying all of the information, it was denied twice.

The rejection message states:
"We could not see where your app is using this permission. In the 'Add Notes' section of your submission, please explain how and where this permission is used in your app. Review our instruction guidelines here."

In the notes of the submission i made, I stated the following step by step instructions:
"User first configures social network settings and approves app.
1. Go to their Account settings-->networks (image 1)
2. Click on Facebook icon
3. Sign in and approve publish actions (image 2)

When user publishes new media, they select which networks to post
1. From user profile page, create new song by clicking "+" in songs section
2. User uploads song and enters metadata.
3. There is a check box for "share to facebook" as well as twitter, g+, etc. (image 4)
4. When they submit, a link to their song page would be added on their FB wall."

I also provided screenshots of each of the pages.

So my question is, for anyone who has gotten approval what explanation did you have to provide to get approved?
jpg
 •  22KB


updated by @dannya: 08/02/14 10:08:20AM
SteveX
SteveX
@ultrajam
10 years ago
2,584 posts
Isn't the App OneAll? They must have had that approved already?


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
michael
@michael
10 years ago
7,717 posts
They are asking what you need the permission for, so tell them:

"Users on my site can use the app to signin to the site or create an account. Once they have an account they can choose to share any of the items they upload to our site to their facebook wall."

They're not asking how to do it because they want to know the steps, they're asking why you need that permission.

Tags