News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Embed Facebook BBCode

Started by dougiefresh, July 11, 2015, 02:33:41 PM

Previous topic - Next topic

Ninja ZX-10RR

LOL ;D Can't really blame you ahah ;D
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.

♥ Jess ♥

STOP EDITING MY PROFILE

TLMB

Any chance of adding support for posts that appear on event pages: e.g. of the form https://www.facebook.com/events/718775158259301/permalink/735868509883299/ ? Thanks.

dougiefresh

Uploaded v2.22 - January 22th, 2016
o Added support for Facebook event permalinks.




@TLMB: Your feature request has been implemented!  Thank you!

TLMB

Thanks very much.
The auto-embed is still not working for me on my forum (and like I said before, that's probably my problem, not yours), but they work when using the tags/button, so that's what I'm telling people to do now.
Cheers!

dougiefresh

I'll take a look once I am mobile enough to get to my computer.  I am recovering from knee surgery....

JF3000

Installed successfully. Go to grab a post and place it inbetween the facebook comments after clicking the button in a new post and preview and nothing is displayed.

dougiefresh

Installed the mod on a clean forum and can confirm this bug report.  Let me try to fix the problem....

dougiefresh

UPDATE: I think I've found a solution to the problem within the SDK.  It does allow reparsing the HTML to deal with Facebook stuff added after the initial load....

dougiefresh

Uploaded v3.0 - February 10th, 2016
o Fixed issue where Facebook URLs shown in preview mode aren't parsed by Facebook SDK.




@JF3000: This update fixes the issue you reported.  Thank you!

dougiefresh

Uploaded v3.1 - February 14th, 2016
o Removed 25 pixel top border from the video iframe div box.

dougiefresh

Uploaded v3.2 - March 7th, 2016
o Modified auto-embed code so that Facebook URLs in signature are embedded as [url]{link}[/url].

villasg

Quote from: dougiefresh on March 07, 2016, 02:05:53 PM
Uploaded v3.2 - March 7th, 2016
o Modified auto-embed code so that Facebook URLs in signature are embedded as [url]{link}[/url].

Please fix the package-info.xml and make the <version>3.1</version> -----> <version>3.2</version>

dougiefresh

Whoops!  Sorry bout that!  It's been fixed and reuploaded....

Tiribulus

Hello sir,
I'm not sure why this is, but any addresses to a specific permalink location that work fine in the browser return [ Invalid Facebook URL ] when put between the tags in a post. I did search first, but only found a post saying that this message would come up for invalid urls. It doesn't however say what those are and one would think that whatever works in a browser, assuming it's a public group the url is from, should work.
Thanks for this mod and your help

dougiefresh

@Tiribulus:  An example of what URL you are trying to use would be helpful.....

Tiribulus

Sorry man. I guess that would have been helpful indeed.  :o
https://www.facebook.com/todd.pruitt.9/posts/10154218844149138?comment_id=10154220418084138&comment_tracking={%22tn%22%3A%22R%22}
Don't ask me what goin on here, but today the links work, but ignore everything after:
https://www.facebook.com/todd.pruitt.9/posts/10154218844149138?
When I posted this question, it gave the [ Invalid Facebook URL ] error if anything after the above was included in the link. Now it links to the main FB post, which I'm thinking is what it's supposed to do. It would be great if it would display the comment that the permalink was too instead of the main post, but this is still great and useful as is.

I hope all that made sense.

Tiribulus

This url just gave me the error :)
https://www.facebook.com/permalink.php?story_fbid=1093223780736842&id=165284543530775

-Rock Lee-

I am that there is already a translation into Spanish, but here I leave the Latin version has a slight change  8)



Regards!
¡Regresando como cual Fenix! ~ Bomber Code
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

dougiefresh

I'm sorry that it's taking me so long to resolve these issues.  Life has been hell lately.....

@Rock Lee: I've got your translation included for the next version of the mod.  Thank you!

@Tiribulus:  I've got the mod working for the following link, when used with AND without the [facebook] tags:
https://www.facebook.com/permalink.php?story_fbid=1093223780736842&id=165284543530775

This link works just fine with you surround it with the [facebook] tag:
https://www.facebook.com/todd.pruitt.9/posts/10154218844149138?comment_id=10154220418084138&comment_tracking={%22tn%22%3A%22R%22}
BUT it doesn't want to auto-embed properly.  So far, the closest I've gotten it is to link to the FB post here:
Quotehttps://www.facebook.com/todd.pruitt.9/posts/10154218844149138?comment_id=10154220418084138
with
Quote&comment_tracking={%22tn%22%3A%22R%22}
following the Facebook post.....

dougiefresh

Uploaded v3.3 - June 18th, 2016
o Added Spanish Latin translation, courtsey of Rock Lee.
o Fixed code so that the Facebook permalink.php URL is recognized as valid.
o Fixed auto-embed code so that the Facebook permalink.php URL is recognized as valid.

Advertisement: