Implemented [Feature Request] FB AppId

More
6 years 8 months ago #437 by p_test test
[Feature Request] FB AppId was created by p_test test
Can you add in backend the FB AppID

Example
when click on FB button "Share via NAME OF APP"
The topic has been locked.
More
6 years 8 months ago #438 by Ruud van Lent
Replied by Ruud van Lent on topic [Feature Request] FB AppId
Hi,

currently the script utilizes the facebook.com/sharer/sharer.php to share.
This facebook page only accepts an url (the url you want to share.

There is no parameter for the appid

I found a different facebook share dialogue: facebook.com/dialog/share.php

This requires the appid otherwise you will get an error.

So changing this means multiple configurations for users with / without an appid.

Can you explain what the benefit / difference is in using the appid?
The topic has been locked.
More
6 years 7 months ago #464 by p_test test
Replied by p_test test on topic [Feature Request] FB AppId
Hi

the appID is useful for messenger in desktop version

ad i.e

for deskltop
www.facebook.com/dialog/send?app_id={YOU...i={YOUR_REDIRECT_URI}

for mobile
fb-messenger://share?link={SHARE_URL}
The topic has been locked.
More
6 years 7 months ago #466 by Ruud van Lent
Replied by Ruud van Lent on topic [Feature Request] FB AppId
Okay,

so just to make sure I understand.
Currently we have the Facebook Messenger implemented.
It links to: fb-messenger://share?link=[the link to share]

This does not work when enabled on desktop because the fb-messenger:// is not recognised > "The address wasn’t understood"

So what you propose is the following:

for mobile devices (enable on device: tables and mobile) use as it is implemented currenlty.
for desktop (enable on device: desktop) use the www.facebook.com/dialog/send?app_id=1518...ommunityhub.nl/forum
The topic has been locked.
More
6 years 7 months ago #467 by Ruud van Lent
Replied by Ruud van Lent on topic [Feature Request] FB AppId
The topic has been locked.
More
6 years 7 months ago - 6 years 7 months ago #470 by Ruud van Lent
Replied by Ruud van Lent on topic [Feature Request] FB AppId
Okay,

so pending the change in the jssocials script I have done some development to see if this works.

Below you will see the button for Facebook messenger generated with the test version.

When you open this message on your phone or tablet it should point to the Messager app, when on desktop it should open with the web app (including app id).

can you test :)

{jssocials title="Cool Joomla extension" buttonorder="M,T"}
Last edit: 6 years 7 months ago by Ruud van Lent.
The topic has been locked.
More
6 years 7 months ago #471 by p_test test
Replied by p_test test on topic [Feature Request] FB AppId
hi

i've tested from mobile and desktop.

Now on the desktop messenger button work
But on mobile seems remain the same share link that are on the desktop.

I've tested with real mobile device and chrome dev tools
The topic has been locked.
More
6 years 7 months ago #472 by Ruud van Lent
Replied by Ruud van Lent on topic [Feature Request] FB AppId
retry now please :) (ctrl-f5 to get fresh pages...)
The topic has been locked.
More
6 years 7 months ago #474 by p_test test
Replied by p_test test on topic [Feature Request] FB AppId
Now seems work correctly
The topic has been locked.
More
6 years 7 months ago #475 by Ruud van Lent
Replied by Ruud van Lent on topic [Feature Request] FB AppId
Top!

As soon as the PR ( github.com/tabalinas/jssocials/pull/166) gets accepted I will make a new version of my plugin.
Feel free to 'ping' me here if things take to long :)
The topic has been locked.