SA Facebook Integration

Started by SMFHacks.com Team, February 12, 2010, 01:36:11 PM

Previous topic - Next topic

LOVELORD

I dont know where i make mistake...

I uninstall and install mod again without any problems... Make few application with same details like i do earlier... And no other social mod not work.

is there any tutuorial how to make facebooka and other application and make it work?

ocmdiaz714

Quote from: Texan78 on September 04, 2012, 08:56:27 PM
Quote from: ocmdiaz714 on September 04, 2012, 06:31:39 PM
Quote from: Texan78 on September 04, 2012, 11:00:11 AM
Quote from: ocmdiaz714 on September 04, 2012, 02:42:59 AM
Anyway to show the link as an icon along with the other icons under the username in the poster div? Thanks.

Are you looking for something like this?

http://custom.simplemachines.org/mods/index.php?mod=3304

Exactly! I'm not sure how the facebook integration works as of yet as I don't have a Facebook, and nobody on my forum has registered using the service as of yet. I would use the icons mod, but I would like for the Facebook account liked a user to show up. If I was to use the social icons mod, a user would have 2 fields to input their Facebook, I only want there to be one. Basically, if a user registers through Facebook, I want their Facebook link as a profile icon. I hope I'm not hard to understand.

With this integration it will only add one input field. This mod doesn't add one.

I understand what you are saying and makes sense. Upon Registration it should add it by default. Problem is it doesn't so you have to create the field manually.

Keep in mind though, other members don't know they logged in with FB and they might want to use the simplicity of the function but keep their FB page private.

With that said, it is better to just give the member the option.

Got ya. Is there a way though to change the text link in the post template to a icon link? Thanks.

Texan78

Can you show me a example of the text link. I don't think I am familiar with what you are referring to.

It can be done, I just need to see where you are referring to exactly.

ocmdiaz714

Quote from: Texan78 on September 05, 2012, 06:31:31 PM
Can you show me a example of the text link. I don't think I am familiar with what you are referring to.

It can be done, I just need to see where you are referring to exactly.

After installing the mod I was given a new option under the profile field settings. And by enabling the link to appear along the icons this is the end result. By the way, the URL is not entered by the user, it's grabbed from the account once it's used to register an account using Facebook.






LOVELORD

Insert facebook icon in theme folder... I think this mod dont install icon in theme folder. That is usualy problem.

johnpaul2k2

please since i am using wap2 for my smf mobile............how can i get facebook hook on HMTL ???

Texan78

Quote from: ocmdiaz714 on September 05, 2012, 08:02:40 PM
Quote from: Texan78 on September 05, 2012, 06:31:31 PM
Can you show me a example of the text link. I don't think I am familiar with what you are referring to.

It can be done, I just need to see where you are referring to exactly.

After installing the mod I was given a new option under the profile field settings. And by enabling the link to appear along the icons this is the end result. By the way, the URL is not entered by the user, it's grabbed from the account once it's used to register an account using Facebook.







Ok I see where the problem is. You have the Placement set as Standard. Edit that and change the placement to "With Icons".

Then try it. If it still doesn't show do this. Below where you set the placement will be this.

"Show Enclosed Within Text (Optional):" In they text field enter this.

<a href="{INPUT}" "target="_blank"><img src="{DEFAULT_IMAGES_URL}/icons/YOURIMAGEk.png" alt="{INPUT}" /></a></a>

Make sure you change the name of the image above YOURIMAGE to the name of the Facebook Icon you are using and then put the Icon in the images/icon folder for your theme.

You should be set after that and it should work properly.

One question though, how did you get it to add the field on login? That is actually kind of nice because mine doesn't do that.


Manu.G

Quote from: Texan78 on September 04, 2012, 10:59:22 AM
Quote from: Manu.G on September 01, 2012, 08:15:09 PM
I've installed this modification, but I think I haven't setup the appliciation not correct :(
I have add all things I got on facebook
No topics and new members are published on the fanpage I'm running on facebook and when ever I push the "Publish" button nothing happen :-s

Facebook Access Tokens are to see under "Publisher"
Fanpage-ID I've add

Can someone help me with my problem?

In your Admin CP for the Facebook Integration select the boards Tab and make sure you have selected boards to publish to.
The boards I want to publish on the facebook fan-page are selected, but nothing happen there. Also I want to publish new members on the fan-page, but it won't work :-s
Version SMF 2.0.8
SimplePortal 2.3.5

Texan78

Quote from: Manu.G on September 06, 2012, 10:47:05 AM
Quote from: Texan78 on September 04, 2012, 10:59:22 AM
Quote from: Manu.G on September 01, 2012, 08:15:09 PM
I've installed this modification, but I think I haven't setup the appliciation not correct :(
I have add all things I got on facebook
No topics and new members are published on the fanpage I'm running on facebook and when ever I push the "Publish" button nothing happen :-s

Facebook Access Tokens are to see under "Publisher"
Fanpage-ID I've add

Can someone help me with my problem?

In your Admin CP for the Facebook Integration select the boards Tab and make sure you have selected boards to publish to.
The boards I want to publish on the facebook fan-page are selected, but nothing happen there. Also I want to publish new members on the fan-page, but it won't work :-s


Go to the Facebook Developers page for your App and under Settings then select Advanced.

Find "Remove offline_access permission" and make sure it is disabled and if not disable it and save the changes.

Then go back to your mod and regrant the permissions.

If all works correctly it should populate your "Facebook Access Tokens"

MAKE SURE, your Facebook Page ID Facebook User ID is correctly entered. The Page ID will be your fan page. The User ID will be your personal page.

To find your Page ID and User ID you can use this link

http://graph.facebook.com/YOURPAGE

Then just replace YOURPAGE with the name of your FB Page and it will give you your ID. Do the same for your personal page too.


ocmdiaz714

Quote from: Texan78 on September 06, 2012, 10:21:07 AM
Quote from: ocmdiaz714 on September 05, 2012, 08:02:40 PM
Quote from: Texan78 on September 05, 2012, 06:31:31 PM
Can you show me a example of the text link. I don't think I am familiar with what you are referring to.

It can be done, I just need to see where you are referring to exactly.

After installing the mod I was given a new option under the profile field settings. And by enabling the link to appear along the icons this is the end result. By the way, the URL is not entered by the user, it's grabbed from the account once it's used to register an account using Facebook.







Ok I see where the problem is. You have the Placement set as Standard. Edit that and change the placement to "With Icons".

Then try it. If it still doesn't show do this. Below where you set the placement will be this.

"Show Enclosed Within Text (Optional):" In they text field enter this.

<a href="{INPUT}" "target="_blank"><img src="{DEFAULT_IMAGES_URL}/icons/YOURIMAGEk.png" alt="{INPUT}" /></a></a>

Make sure you change the name of the image above YOURIMAGE to the name of the Facebook Icon you are using and then put the Icon in the images/icon folder for your theme.

You should be set after that and it should work properly.

One question though, how did you get it to add the field on login? That is actually kind of nice because mine doesn't do that.

I actually do have it's placement set "with icons", but I took the first screen shot before enabling the option. What you see in the second picture is the result of the icon placement. As for the field to show the URL, really all I did was enable the profile fields and Facebook was an already added custom field! Quiete neat.

Banthe

#2890
OK... I've tried and tried again to set this up!
I've set up a facebook app.... Then set up SA Facebook Integration... All Good!

Problem is that when I ask someone to test by registering on my forum using fb... after they enter their fb details and get logged in to the forum... they have MY FB USERNAME instead of their own??????

Please, what have I done wrong here...I'm going insane!

NOTE to Texan78 or SA: I would gladly pay to have this set up for me :-[

Texan78

Quote from: ocmdiaz714 on September 06, 2012, 03:49:51 PM
I actually do have it's placement set "with icons", but I took the first screen shot before enabling the option. What you see in the second picture is the result of the icon placement. As for the field to show the URL, really all I did was enable the profile fields and Facebook was an already added custom field! Quiete neat.

Ah you know what, I think I remember it does add the profile field but I think I deleted it because it wasn't working correctly and just manually added it. Of course members have to manually enter it instead of it populating upon registration.

Try this, set up a custom profile field for FB with the information I listed from the previous post. I am going to test the other method and see what I can come up with.

Texan78

Quote from: Banthe on September 07, 2012, 12:05:29 AM
OK... I've tried and tried again to set this up!
I've set up a facebook app.... Then set up SA Facebook Integration... All Good!

Problem is that when I ask someone to test by registering on my forum using fb... after they enter their fb details and get logged in to the forum... they have MY FB USERNAME instead of their own??????

Please, what have I done wrong here...I'm going insane!

NOTE to Texan78 or SA: I would gladly pay to have this set up for me :-[

In the FB Mod under configuration, at the bottom you will see "Custom login url". That should be empty. That's the first thing I would check. If that is empty, then clear the forum cache.

Banthe

Thanks Texan78 ...That seemed to work  :) The custom login URL was empty, so I cleared the cache and that seemed to do the trick!
Is there any possibility that will happen again? As I would hate to see members joining up in the future and they end up with other peoples details etc...?

Also, is there any way I can have this directed to a community fb page rather than my personal fb page? ( I know I've seen other people ask the same thing, but I haven't found the answer!)

Regards

Texan78

Quote from: Banthe on September 07, 2012, 04:19:46 PM
Is there any possibility that will happen again? As I would hate to see members joining up in the future and they end up with other peoples details etc...?

Actually I couldn't tell you for sure. I have never encountered it so there is always a possibility. If I had to take a guess I think you should be fine. At least you know what needs to be done if it does happen again.

Quote from: Banthe on September 07, 2012, 04:19:46 PM
Also, is there any way I can have this directed to a community fb page rather than my personal fb page? ( I know I've seen other people ask the same thing, but I haven't found the answer!

Sure, you just need to set up a fan page that is associate to your account. Then update your app to reflect the fan page and then generate new App Keys to enter on the FB Mod configuration page like you have already done. It would probably be best to just delete the current App on FB. Then create your fan page, then create your app and associate it to the fan page.

Banthe

Thanx once again Texan78!
Set up the fan page and associated the app.... Still trying to get the Topics and New members to post to fb!! Not working yet, but I'll keep trying...  :-\
If I have no joy, I'll annoy you again if you don't mind?

willemjan

I've tried to search this topic for an answer, but couldn't find it.

What does the facbook page on the forum supposed to do? It stays empty no matter what I do. It does show: your Friends, What's on your Mind, and Invite Friends, but the front page is just empty...

Everything else is working like an charm! Great mod!

willemjan

I found an security issue with this mod. Is it ok to PM you about it?

Texan78

Quote from: Banthe on September 07, 2012, 06:04:21 PM
Thanx once again Texan78!
Set up the fan page and associated the app.... Still trying to get the Topics and New members to post to fb!! Not working yet, but I'll keep trying...  :-\
If I have no joy, I'll annoy you again if you don't mind?

Here are some things to try if you have not done so yet.

In the FB Mod under "Publisher" make sure your Facebook Page ID Facebook User ID entered correctly. Look back a couple of posts for how to find your ID's. Once you have those ID's you need to apple the extended permissions by hitting the publish button or login button at the top of the mod page.

Once you have your access tokens generated you can begin publishing to your Fan page.

First you need to enable your "Enable Post Publisher?" In your case you want new members and topics. So in the drop down select "New Members and Topics"

Then below that "Publish to facebook?" select "Page" from the drop down. Then hit save at the bottom.

Finally select the Boards from the top of the FB Mod. You will see all your boards with three options with check boxes below. Publish, Like, Comment. Just check the boxes for which boards you want to have those features and then click save. You should be good to go after that and then you can test by making a post and see if it posts to your FB as well.


Texan78

Quote from: willemjan on September 08, 2012, 06:27:27 AM
I've tried to search this topic for an answer, but couldn't find it.

What does the facbook page on the forum supposed to do? It stays empty no matter what I do. It does show: your Friends, What's on your Mind, and Invite Friends, but the front page is just empty...

Everything else is working like an charm! Great mod!

Which page are you referring too? Is the one that says FB when you are logged out in the menu?

About the security issue, I don't know who you would talk to about that. I though Vbgamer had taken over future development but I don't know what the status is on that. SA may have a better answer for that.


Advertisement: