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

  • Home
  • SEARCH
  • 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 6221175
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T08:05:12+00:00 2026-05-24T08:05:12+00:00

I am working in mobile environments that do not support Javascript. Is it possible

  • 0

I am working in mobile environments that do not support Javascript. Is it possible to add Facebook Like functionality to a page, probably doing server-side requests to Facebook?

For a more detailed example, if I go to http://ogp.me/, there is a Like button towards the bottom of the page. Clicking on that uses Javascript, optionally signing into Facebook if the relevant cookies aren’t there.

I want to provide the same functionality, but without using Javascript (clue: need to support Blackberry browsers).

My intention was to use OAuth 2.0 with standard redirects, to get an access token with which to call the Graph API.

Once I have an access token, I was expecting something like

curl https://graph.facebook.com/me/likes?access_token={a-valid-access-token}&category=Website&url={url-encoding-of-url-to-like}

where the access token has the publish_stream permission granted to it. So to be more explicit:

curl https://graph.facebook.com/me/likes?access_token={a-valid-access-token}&category=Website&url=http%3A%2F%2Fogp.me%2F

That attempt returns me a 403 response, and I’ve not found anything else in the fine manual

  • 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-24T08:05:12+00:00Added an answer on May 24, 2026 at 8:05 am

    The graph api does allow you to like a graph object (see Graph API Docs / Publishing) using:

    https://graph.facebook.com/OBJECT_ID/likes
    

    However the graph object must have an existing likes connection – and there’s currently no way of creating such a connection via the graph api.

    But if the like connection already exists you can get the pages graph object id using FQL:

    SELECT id FROM object_url WHERE url='http://youtargeturl.lnk'
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i'm working on windows mobile app (c#, .net 2.0). i would like to make
I'm working on a mobile application (C#/WPF on a tablet PC) that prints to
I'm working on an app for a mobile device and would like to make
As an experiment I'd like to set up a coldfusion page that will pull
I am working on a mobile website and would like to test it using
I'm currently working on a consumer mobile application project and have read that 40%
So I'm working on a mobile site that has some videos on it. I
I'm working on a mobile web app that needs to work in IE Mobile.
I'm working on a Windows Mobile 6.5 application that utilises a barcode scanner. I'm
I'm working with mobile, so I expect network loss to be common. I'm doing

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.