Topic-icon Open Graph button acting as login

Active Subscriptions:

None
9 years 3 weeks ago #52819 by kinbla
Hello,

After clicking on an Open Graph button that I have placed inside of a component and try to test it out, the button just sends me back to the home page saying I have successfully logged in with my Facebook profile even after already being logged in with Facebook.

Here is the HTML from inspect element and it seems as if the share button is correct:

<div class="sourcecoast facebook action jfbcaction">
<button id="share-button" class="btn" type="button" onclick="jfbc.share.display_modal(2, ["messages","explicitly_shared"]);">Seeking LMG's</button>


I am not sure of whats causing the issue as everything seems right and I could not seem to find the reason for it.

Any suggestions

Thanks
The topic has been locked.
Support Specialist
9 years 2 weeks ago #52824 by alzander
Can you go to the JFBConnect -> Configuration -> Facebook area and make sure the "Show 'Login Credentials' in Popup" setting is 'Yes'. If that is no, then the user will be redirected to Facebook to authenticate (or even verify they have already logged in) and it can break the custom Open Graph Action buttons.

Beyond that, make sure you're testing with the Facebook Admin for your app so that you can use your un-approved object and actions. Otherwise, Facebook will have issues if general (non-admin) users are trying to trigger actions.

Hopefully that helps get you going, but should you still have issues, just let us know.

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

None
9 years 2 weeks ago #52845 by kinbla
Showing login credentials seemed to fix the issue.

Thanks
The topic has been locked.
Support Specialist
9 years 2 weeks ago #52851 by alzander
Awesome! I'm glad to hear that got you going. We have it on our to-do list to determine how to make the Open Graph Actions custom button work even when the login is set to redirect to Facebook (not in a popup). It's a bit tricky to do though and will take a bit of effort. I hope the current solution works for you, for now, but if you need anything else or have any suggestions or feedback for us, please let me know.

Thanks,
Alex
The topic has been locked.