Facebook Like button functionality without IFRAME or Javascript [closed] - facebook

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I want to add Facebook "Like" functionality to a native mobile app i.e. Not one running in a browser.
I can retrieve the Likes for an item from the Graph API but I cannot see how to POST a "Like" operation using that API. How do I do that?
Am I going to have do have a browser control hidden with the app that uses an IFRAME?
TIA
Pat

According to the Facebook graph api documentation, you can like any object that has a /likes connection by posting to https://graph.facebook.com/OBJECT_ID/likes. This would work for friends posts, comments, etc.
But I don't believe there is an API to "like" a page (become a fan) and probably won't be because it would be abused by spammers. You will need to embed an web view control in your application for this.

Related

Well Is this facebook app following all the rules(TOS)? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 9 years ago.
Improve this question
Well I found this app (just a demo app for sale)
http://apps.facebook.com/horoscope-demo/
But before buying I am confused with:
This app
Asks to post on wall at first use
Shows advertisement dialog at app entry
Shows send request dialog at entry
and also has auto daily post on the user's wall (after permission)
Is there any violations of facebook tos?
There were some rules not to show dialog, send request dialog as far as I remember.
plus
is auto wall posting(even after approval) still possible or allowed by facebook?
I didn't test the daily auto post but can it still do it?
Thanks for replies Fb app developers.
As fb developer these questions are pretty useful.

Facebook user locale on "user_denied" facebook app page [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I want to display the correct user language on my Facebook app when the user denies the permissions. How can I do this? I want to achieve this without using the automatic translation process of facebook, I need to have my own translation.
What are we talking about here, app on a website or canvas/page tab?
For the latter, the signed_request contains user.locale, even if the user has not authorized the app yet.
For a website app, there is no data available if the user hasn’t connected to the app yet (AFAIK). In that case you could only see what their client sends in the Accept-Language HTTP request header.

How can I get a poll to show up on facebook and a wordpress site? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Is there a way I can get a poll to show up on both my wordpress site and facebook.
Do I need to use a facebook app?
Could I create an iframe to show up on the facebook page?
I'm not exactly sure if this poll will just show up on the homepage of a facebook page or if the poll will be something in the news feed. I am just trying to do initial research.
Most of my searched brings up polldaddy.com
I am currently using wp-polls, could I create a custom interface to have it show up on facebook?
1) Yes.
2) Yes
3) When creating Facebook Applications, iFrames are used by default, pointing to the location of your app on the server you specified in your Application Settings
4) Applications themselves cannot appear on a Facebook Profile page. You can generate Links and Status Messages (among other things) for users that approve your app which CAN appear in the user's Timeline/Profile Page
5) Depending on what you want to spend, Woobox is a good one too.
6) Yes. Since Applications are just iFrames, you can style the page on which you want your poll to appear to look however you like. Though, on Facebook, it will still reside ONLY on its corresponding application page.
You will want to look into the Javascript SDK or the PHP SDK for more information on how to set up a UI for your Facebook App to interact with Facebook itself.

Upload images and video to a tab (not the wall) on a business page? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
We have a facebook page with a numbers of different tabs on it. On one of the tabs we'd like to allow those who've liked the page to upload videos and images. The uploads would only appear on this specific tab. How is this normally achieved? Can we even use facebook or do we need to plug-in youtube or vimeo etc?
Is there an app or do we need to create one?
Any pointers t all would be much appreciated as we have no idea. Can't seem to find an answer on the forums.
When a user selects your Page Tab, you will received the signed_request parameter with one additional parameter, page. This parameter contains a JSON object with an id (the page id of the current page), admin (if the user is a admin of the page), and liked (if the user has liked the page).
https://developers.facebook.com/docs/appsonfacebook/pagetabs/
You can upload a video to a page using the Graph API, see the following Blog post: https://developers.facebook.com/blog/post/515/#video_upload

Facebook and Deezer application [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I made a very simple Facebook application in PHP that retrives information about the current logged user (it looks in cookies). I am interested in retrieving information from another Facebook application: deezer, deezer facebook application. Do you have any idea of how can I access this information (from deezer, e.g. the favourite music of the current user)? From your experience, what's the approach of learning how to develop Facebook applications?
Thanks!
You would probably have to contact Deezer regarding services into their database. If a user has installed your Facebook application, then it would be my assumption that you have been given some sort of unique id that identifies the user. If Deezer allows it, you could give them that unique id and they could return the users music profile. If you look at thei site, Deezer does provide an API.