Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

FB preview link

Asked Modified Viewed 2,204 times
H
Homdax
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,247 posts on the community forums.
  • Started 108 threads in the forums
  • Started this discussions
asked
Fusioneer

You know how Facebook grabs the first few lines and one or several image in a FB post when you paste a link?
Well I am looking for that functionality in a BBCode. See attached screenie.
Homdax attached the following file:
2014-06-17_15-47-21.png [No information available / 134 Downloads]
0 replies

2 posts

J
JoiNNN
J
JoiNNN 10
  • Veteran Member, joined since
  • Contributed 850 posts on the community forums.
  • Started 100 threads in the forums
answered
Veteran Member

Coding such a BBCode it´s rather easy but the server will have to download those images opening an easy way to get the server DDoS itself if any1 abuses the BBCode or even if is used too much.
Edit:
Thinking again the server could only download the page as plain text ---> get some relevant img urls based on an algorithm ---> insert into the DOM with javascript those links thus making the client download these images.

Found this: https://developers.facebook.com/docs/graph-api/reference/v2.0/link might be useful.
Edited by JoiNNN on 17-06-2014 16:43,
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Quote


Found this: https://developers.facebook.com/docs/graph-api/reference/v2.0/link might be useful.
- by JoiNNN

Look's interesting.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 2 posts
  • Votes 0 votes
  • Topic users 3 members

3 participants

H
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,247 posts on the community forums.
  • Started 108 threads in the forums
  • Started this discussions
C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
J
J
JoiNNN 10
  • Veteran Member, joined since
  • Contributed 850 posts on the community forums.
  • Started 100 threads in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet