Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6914597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:22:05+00:00 2026-05-27T09:22:05+00:00

We have a new project, building a fully featured facebook App on an embedded

  • 0

We have a new project, building a fully featured facebook App on an embedded device (using Java) as a part of a new home automation system.

All is going well however we have hit a road block when it comes to adding friends. Our interface is a complete wrapper over the facebook UI (i.e. no browser). The only way I know how to add a friend is by sending a request to http://www.facebook.com/addfriend.php?id=XXXX

From here, the user is prompted to add a friend. The question is how should be go about wrapping up this request (i.e. mirroring it) so the user needs to click accept or deny and then forward this request off to Facebook?

AFAIK there is no API for adding friends… How can we go about mimicking this form and sending the request without having to implement a full browser? Space is also an issue so some clunky framework to try an emulate a browser window popup isnt going to work for us.

Any ideas and tips would be greatly appreciated.

Cheers!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T09:22:06+00:00Added an answer on May 27, 2026 at 9:22 am

    You won’t be able to fake such a request without breaking Facebook’s CSRF protections, and if you did that the loophole would likely be closed almost immediately. If your app has an embedded browser there’s a Friends dialog you can use to send friend requests, and accept existing friend requests, but it won’t be trivial to simulate user logins and interactions with the dialog for security reasons

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have recently joined a new developing project building a thick client application using
I have just started a new project, and I am using the Delphi 2009
My new project is targeting an embedded ARM processor. I have a build system
I'm working on a new project and I'm using the repository pattern, I have
I'm building a draggable timeline of sorts for a new project using some simple
I am building a new project with Castle ActiveRecord and have a little technical
I have a new project which simply put, is an attempt to formalize the
I have started a new mvc project and clicked on project\properties\web - use local
I have to start a new project where user authentication/management will be required. A
I have produced a new Maven Project from gae-archetype-gwt from within IntelliJ, and everything

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.