like external sites on facebook javascript

Started on the old forum in July 2011 · view the original in the archive · old links redirect here

1 reply · 653 views · started 15 years ago · 1 min read

2 participants
mobidev Senior · 312 posts #1

Since I struggled to get a working php facebook like script ( as all the shared scripts are only the script and not the sdk that u need to complete the script which makes it apsolutely useless) I searched for a javascript and found this 1 and it works I'm just searching for a mobile compliant fb like script but to no avail... I'm on mobile so can't put it in script tags so I'm just pasting it sorry,,,,

<script type="text/javascript"> function fbs_click() {u=location.href;t=document.title;window.open( 'http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer', 'toolbar=0,status=0,width=626,height=436');return false;}</script>

External image (may be gone)

You may use ur own facebook image so just replace the SukaFB url with ur own image...

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close