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 7608759
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T01:00:01+00:00 2026-05-31T01:00:01+00:00

I wanto to create on my facebook page (facebook.com/genericco) a custom poll, in it

  • 0

I wanto to create on my facebook page (facebook.com/genericco) a custom poll, in it I wanna create funny polls people can vote on (mainly yes or no answers) and I’d like to post on the voter’s wall the action (john doe voted yes on Genericco’s poll: Do you think chicken-fish should stop smoking for health issues?).

So I could not do that just using graph API and reading my own questions…so I decided to use the open graph! I created an action called vote with the custom property answer as a boolean…

I’ve also created the object poll with image,question, title, description and the custom property question…

I’ve also populated with custom data in the aggregations part.

Then i used Putty program to run the code and be able to submit my custom action for approval…

My question now is…How do I use it? How do I put this together to achieve the objectives I’ve proposed on the top of this question?

can anyone shed a light?

  • 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-31T01:00:02+00:00Added an answer on May 31, 2026 at 1:00 am

    So…I managed to build the customized poll app with Open Graph in facebook. its going well…but its not 100% yet. let me tell you guys why:

    1 – So I managed to understand how to creat an action, I called it “Vote”, it is connected with the Object type “Poll” I created; The action “Vote” has 2 custom properties: “Answer” wich is a String and “Name” wich is also a String;

    2 – Then I created the object “Poll” and I filled it with sample data and stuff and also I created the custom property “Question”;

    3 – Then I created the aggregation “Enquete Ociosidade” (roughly translating would mean sloth poll) and the data is displays is the action “vote” and in the Caption I used something like this {poll.question}{name} thinks {answer};

    Then to make it work I had to send a sample of the action to facebook somehow, I had no idea how to do this so I used Putty and simply pasted the code facebook provides for that; It worked;

    Then comes the hard part, how would my front-end app send those info to facebook so I could register the action? Well I’m glad you asked!

    I tryed till it worked…YOUR APP MUST HAVE PUBLISHING_ACTIONS PERMISSION THIS IS VERY IMPORTANT!

    so…this is the code I got working:

    FB.api('/me', function(response) {
        //alert(response.name);
        FB.api('/me/genericco:votar_poll&enquete=http://www.limonadaweb.com.br/genericco/poll_data.php&resposta='+resposta+'&nome='+response.name+'&access_token='+_token+'' ,'post',  function(resp) {
        if (!resp || resp.error) {
            alert('Error occured '+resp.error.message);
            //mostrar caixa de diálogo que algum erro ocorreu;
        } else {
            alert('Post was successful! Action ID: ' + resp.id);
            //fazer algo legal para demonstrar que deu certo o voto;
        }
        })
    });
    

    what I did was…first I make a FB.api call to get the users name, in the callback I make a FB.api call to register the action VERY IMPORTANT TO PASS THE ACCESS_TOKEN TOO…and must be POST…. and that is all there is to it! very cool right? And all that code is inside a function my app calls whenever the user votes and sends a boolean value that I use as the answer to know if the user voted ‘yes’ or ‘no’.

    That is all very good and is working fine! Just fine….

    My problem now is that now when the action is published in my timeline and newsfeed and stuff it sends the user to this link below…it has absolutely nothing visual in it…it is the poll’s data…a bunch of metatags…

    i’d like to know if it is possible to send the user to another link when he/she clicks the link of my feed…

    http://www.limonadaweb.com.br/genericco/poll_data.php?fb_action_ids=10150744684398313&fb_action_types=genericco%3Avotar_poll&fb_source=other_multiline

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

Sidebar

Related Questions

I want to create a Facebook app that can operates inside IFrame / FB
I am about to create a Facebook iFrame page which will consist of content
I have an app called static HTML (https://apps.facebook.com/static_html_plus/?ref=ts) installed on a page of mine..
I want to create a one page site that will use Facebook Connect and
After following: https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview I can sign up a user via Facebook. But I'm struggling
I need to create a simple tab page with custom content inside. How on
Our Facebook-page (on facebook.com itself) has a number of likes. Our website index page
i am using this widget to get my users to create accounts: <iframe src=http://www.facebook.com/plugins/registration.php?
I want to create a page in my facebook app which lets user upload
Can I use Facebooker without having to create a whole Facebook App in their

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.