[Urgent] Facebook share gate?

mrgibblet

Junior Member
Joined
Aug 1, 2013
Messages
127
Reaction score
11
Hey guys I'm having a bit of trouble.

I'm trying to make an app on facebook that requires you to SHARE my page in order to unlock a form.

I already know of the free WooBox app to make a Like-gate with HTML, but is there a same thing for sharing?

It sounds simple enough, does anyone know how to do this?
 
Can be done... I have a plugin on wordpress where you need to share before you can see the content...
But I dont know how to - since I'm not a coder...
Hire a guy and pay him - there is a place here for stuff like that - or try freelancer/odesk etc shouldnt be very expensive
 
Can be done... I have a plugin on wordpress where you need to share before you can see the content...
But I dont know how to - since I'm not a coder...
Hire a guy and pay him - there is a place here for stuff like that - or try freelancer/odesk etc shouldnt be very expensive

I know how to code, and I know basic logic, I could do this on my own as long as I knew if the facebook API supported it.

I heard they took away Share-tracking or something of the sort this year, but it should still be possible to monitor shares of your page.

I even have my own PHP web host to do this on my own, but I'm not sure where to start
 
That should not be hard bro, here is code from fb.

FB.ui( {
method: 'feed',
name: 'Facebook Dialogs',
link: 'https://developers.facebook.com/docs/dialogs/',
picture: 'http://fbrell.com/f8.jpg',
caption: 'Reference Documentation',
description: 'Dialogs provide a simple, consistent interface for applications to interface with users.'
},

function(response) { if (response && response.post_id)
{ alert('Post was published.'); }
else
{ alert('Post was not published.'); } } );

Now just change alert('Post was published.'); with getElementById("yourformid").style.display = 'visible';

Really can't help you more than this on forum, take a look into FB.ui section on facebook
 
That should not be hard bro, here is code from fb.



Now just change alert('Post was published.'); with getElementById("yourformid").style.display = 'visible';

Really can't help you more than this on forum, take a look into FB.ui section on facebook

I've been reading the docs, but I'm still a bit lost.

Where would I put that code? I tried putting it in a html file and put my APP ID in and everything but nothing happened, didn't even get the dialogue.

Also I had the FB Javascript SDK included and everything too.
 
Last edited:
Back
Top