Topic-icon Open-Graph-Stories

Active Subscriptions:

None
11 years 8 months ago #47207 by julwol
Open-Graph-Stories was created by julwol
Hi everybody,

unfortunatelly ... after some hours of trying I think I am stuck.

What I want to create:
On my website users can sign in for seminars.
On the confirmation-page after signing for a seminar I like to have a button to create an Open Graph Storie "User xxx signed to seminar yyy", while the seminar is linked to the Seminars-Description-page. The user is not logged in Joomla, the whole page is not a community-page, it´s a page for signing in to seminars.

So I installed JFB-Connect and tested it. It works with a like-box and no errors are found by autotune, so I guess it works.

Then I created an Object "Seminar" and an Action "sign-in" in the Facebook-App as well as in the JFB-Backend.
The JFB-documentation varies slightly from Facebook: While in the documentation only Actions and Objects are mentioned, in Facebook I have a third tab called "STories". So I also created a Story. But ... nothing is working.

I created the JFB-tag and placed it on my website in a module. The buttons shows up, but when I click on the button ... nothing happens.
I tested everything I can imagine, but I don´t find a reason for the Facebook-Popup not showing up.

Can you help me?

All the best, Julian!
The topic has been locked.
Support Specialist
11 years 8 months ago #47214 by alzander
Replied by alzander on topic Open-Graph-Stories
Sure thing. There's a few things to try first:
* Enable the "Include jQuery / Bootstrap" setting in JFBConnect
* Set the "Enable Debug Mode" setting in JFBConnect to Yes
* Test the action again and check if a 'blue box' appears in the bottom right of the screen with a message.
* Also, check the Open Graph -> Activity Log area to see if any error messages were created.

Beyond that, can you point me to a page we can test from and we'll let you know if we see anything wrong.

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

None
11 years 8 months ago #47223 by julwol
Replied by julwol on topic Open-Graph-Stories
Hi Alex,

here is the page:
www.nlp-deutschland.de/bestaetigung

The button is on the bottom of the article.
The tag I inserted is
{JFBCAction id=2 text=My Button Text}

While going through your points, the first one mate a change: Include jQuery/Bootstrap.
Now the button works.

But ... it does not post the OG-Story, it leads into a sign-in to the page.
That´s not the desired action. This page is not a community, it´s just for subscribing to seminars.
So I guess the actions are not defined right?

All the best, Julian!
The topic has been locked.
Support Specialist
11 years 8 months ago #47228 by alzander
Replied by alzander on topic Open-Graph-Stories
Julian,
It sounds like there's a misunderstanding on how Open Graph Actions work. To post activity to a user's wall, you need their permission. That permission is granted by them 'authenticating' with your site and allowing your site to post to their Timeline. For buttons, where the user is intentionally clicking, I can see why it may seem like they are already giving permission to do so. Unfortunately, that's not how Facebook works. Outside of their standard Like, Share and Comment features, which can be used when a user hasn't approved posting permissions, all other actions a user takes must have already had the user grant the "publish_actions" permission.

Once approved, the user won't have to ever grant it again, and the button will immediately show the action popup with the comment, friend and place tagging features (when enabled).

For things like "reading", which happen automatically when a user is on a page, it makes sense that they'd have to have approved your app to post that activity.. otherwise, sites would spam to a user's wall.

I hope that helps explain, but if you have any other questions, please let me know.

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

None
11 years 8 months ago #47236 by julwol
Replied by julwol on topic Open-Graph-Stories
Hi Alex,

okay, so I try to understand:

The open-graph-stories ONLY work, if the user has granted his posting-permission BEFORE in a different task.
That means, it is NOT POSSIBLE, to use an open-graph-story with an instant FB-Popup asking for permission. "Giving permission" and "posting story" are two different tasks, that bouth need to be done separately.

Vice-Versa: What Actions can be used for the permission? If for example I already have a Like from the user, is it then possible to post an open-graph-story? What if he already shared something?

To give you and Idea what I am behind:
My seminars-page has no log-in. Users register only for seminars on that page.
For me it is a huge benefit if every user can post a story on his timeline "User has registered for Seminar xy". This is good advertising for me.
Is there any way to achive something like that without the user being registered on my page before?

Other szenario:
I also have a community-page. Some of the users have registered through facebook, others haven´t.
So when I like them to post an open-graph-story, is it possible to place the button there or will the button only work for users that registered through facebook?

All the best, Julian!
The topic has been locked.
Support Specialist
11 years 8 months ago #47243 by alzander
Replied by alzander on topic Open-Graph-Stories

The open-graph-stories ONLY work, if the user has granted his posting-permission BEFORE in a different task.
That means, it is NOT POSSIBLE, to use an open-graph-story with an instant FB-Popup asking for permission. "Giving permission" and "posting story" are two different tasks, that bouth need to be done separately.

No, that's not correct. When a user clicks the action button, JFBConnect will check that the following has been done by the user:
* The user is currently authenticated to your application using Facebook
* The user that is authenticated has granted permission to post on their behalf
Each of those checks will attempt to fix the problem as well. So, if the user isn't logged in, it will prompt them to authenticate using Facebook. If they haven't granted the permission to post, it will then ask them to approve that permission.

Once both of those requirements (set by Facebook) are met, then JFBConnect will show the action popup and allow the user to push the action to their feed.

In some cases, the user will immediately see the popup, in others, they'll just see the login prompt, in other cases, they'll see the login prompt and permission prompt, etc.

By default, once you setup Open Graph Actions on your site, if you allow regular authentication for navigation of your site, JFBConnect will request the permission to post automatically. That way, actions can be triggered without having to prompt the user as much.. they'll already be logged in with the proper permission.

To give you and Idea what I am behind:
My seminars-page has no log-in. Users register only for seminars on that page.
For me it is a huge benefit if every user can post a story on his timeline "User has registered for Seminar xy". This is good advertising for me.
Is there any way to achive something like that without the user being registered on my page before?

You could use Actions, but it would require the user to authenticate with Facebook and approve that permission. The other option is to add a simple Facebook Share button on the page so the user can push it back to their Timeline. It would simply be a link to the event with a comment from the user, not an "I'm attending this" action, but it may work for you.

You could also add a Facebook Comment box to the page and have a note at the top like "Let us know what you're excited about". That can get a conversation going which can also post to user's Timelines.

Other szenario:
I also have a community-page. Some of the users have registered through facebook, others haven´t.
So when I like them to post an open-graph-story, is it possible to place the button there or will the button only work for users that registered through facebook?

Again, the button would only work with users that authenticate with Facebook. However, if the user is already logged in with Joomla, JFBConnect can take care of 'mapping' their existing account to Facebook and then letting them post pretty quickly. It's not perfect as there's still a little bit of a gate there, but it's not insurmountable.

I hope that all helps, but if not, let me know.

Thanks,
Alex
The topic has been locked.