TheCrow’s picture

I changed the name of the App right now in FBShare by Service Links, if you want a custom app name apply the patch go to Adminster > Configuration > Service Links and switch to Widgets Tabs there are the info to build a custom Facebook App id for Facebook Share

TheCrow’s picture

574 bytes

Here the patch

roelwelters’s picture

15.79 KB

patch won't work:

This may be crucial to most of you, but it's the first time i'm applying a patch,
the .patch is in the same directory as the .module
this is the error i get from terminal:

Roel-iMac:service_links roelwelters$ patch < service_links-2000510.patch
can't find file to patch at input line 5
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
|diff --git a/services/ b/services/
|index 9248f87..39dc524 100644
|--- a/services/
|+++ b/services/
File to patch: service_links.module
patching file service_links.module
Hunk #1 FAILED at 130.
1 out of 1 hunk FAILED -- saving rejects to file service_links.module.rej

TheCrow’s picture

455 bytes

i re-edited the patch, seems that the git diff patch is not welcome to patch command.

patch -p0 < service_links-2000510.patch

roelwelters’s picture

patched successfully!
now i can edit the app id, and i see the link to facebook.
However it is not very clear what to do on facebook, can you please point me in the right direction?
Kindest regards

TheCrow’s picture

149.79 KB
  1. Click on "create app" button;
  2. fill the form giving a name to the app and a namespace not yet used;
  3. solve the captcha ;
  4. disable the sandbox mode and take note of the application ID in the upper part of the page;
  5. Save the modifies;
  6. Done!
TheCrow’s picture

Status: Active » Fixed

Patch committed if there are other troubles just continue here.

roelwelters’s picture

Title: Share link via FBShare Test » Share link via FBShare Test - Links keep disappearing
Status: Fixed » Active

now everytime i visit the site, the links are gone,
i have to log in,
go to admin/config/services/service-links
dont change anything, just press save
and the links are back.

Also the links are stacked, how do i put them on one line?

Kindest regards


TheCrow’s picture

is this related to anonymous user permissions? are you using some other social module?

here some suggestion to style the widgets links:

roelwelters’s picture

I applied the patch
I made a facebook app
still the shared post says: Roel Welters heeft een link via FBShare by Service Links gedeeld.

TheCrow’s picture

you have to change the facebook app id in the service links configuration page... widgets tab... and go to facebook share settings

the patch is committed in dev so this should work without patch anymore if you have the latest dev

roelwelters’s picture

I did change the app id on the widgets tab, didnt work.
I'll start all over with the new dev version.

Simon Georges’s picture

Is it better with the -dev version?