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 7 years ago.
Improve this question
I am trying to automate article seeding on facebook groups,however I am unable to find relevant APIs to do it.Is it possible to post an article(which includes all OG tags) on a Facebook group using any of its APIs?
You can use the /group-id/feed endpoint to post to a group:
https://developers.facebook.com/docs/graph-api/reference/group/feed#publish
A better alternative would be the Share Dialog:
https://developers.facebook.com/docs/sharing/reference/share-dialog
Autoposting and prefilling the message is not allowed, so it´s better to just use the Share Dialog. No user authorization required and it takes the OG tags from the URL.
Related
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 2 years ago.
Improve this question
I would like to use google analytics only for grab technical informations of my visitors, for example browser used, resolution of the display, languages, number of users connected at time, urls visited etc.
I don't want to worry my users about gdpr, cookies and other legal stuffs, because i don't want to track them, i need only technical informations.
In this article i read i can deactivate the use of cookies so, even every visits will be unique, i will don't need to ask for cookies acceptance anymore.
this can be sufficient to avoid asking to my visitors about permission relateed to cookies , tracking or gdpr?
thanks
The Google Analytics cookie is first party. You have to use IP Anonymization (or IP masking) in Analytics so your cookie can be assimilated to technical cookies.
ATTENTION: not all privacy guarantors agree with this statement.
If you use Google Analytics 4 the IP anonymization is already automatic.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I want to automaticaly publish content from my internal back office to my facebook page.
What i understand is that i have to create a facebook app with the rights publish_pages, publish_actions, manage_pages.
To publish this app they ask me information and test access of the app like:
A member of our review team will test how your app uses manage_pages. Please give them detailed step-by-step instructions for how to see this permission the same way people using your app would.
I just want to push content to my page, there is nothing to test.
Is there a FULL tutorial somewhere to do what i want to do?
Thanks
First of all, you only need manage_pages and publish_pages. publish_actions is for posting to the user wall. That being said, you don´t need to go through the review process if you don´t want to publish your App to other users.
So...the answer is: don´t send it in for review. It will work for everyone with a role in the App.
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 7 years ago.
Improve this question
I need to retrieve the list of friends who have visited a particular place using graph api javascript sdk.
For example: Sam, Nike and 7 others have been to this place.
Is there any API call which I can use for this?
You can only get data of users who authorized your App. There is no way to get any data of friends who did not authorize the App. Check out the API reference to find out what data you can get from authorized users: https://developers.facebook.com/docs/graph-api/reference/v2.4/user
As #luschn already said, this is not possible with the current version of the Graph API.
You might have a look at what IS possible concerning social context here:
https://developers.facebook.com/docs/facebook-login/social-context/v2.4
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 am writing a web service in JAVA which will expose a product's API.
What i cannot figure out for my Low level design is, how to authenticate and authorize within my web service.
For example :- Who can or cannot invoke methods on my web service.
I want to build something like, one user can add an account however shouldn't be allowed to add user while some other user can do vice versa.
Can anyone give me a direction for best practices, i can figure out the details.
Here is a leightweight howto:
You could implement a usertable and provide a login mechanism. Every time a user logs in you could store the userid in a session. If an arbitrary request is received you check whether a session exists. If not you force the user to login otherwise you read the userid from the session. Then you can determine which functions the user is allowed to access.
Also this link about similar question on stackoverflow might help:
Servlet user authentication
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 10 years ago.
Improve this question
I have already registered as a Facebook Developer but i am not finding any app id and secret key . Can Anyone help me ??
The list of all your apps and their settings (including id and secret) is here:
https://developers.facebook.com/apps
You may want to check out some tutorials about facebook apps, for example:
http://www.emanueleferonato.com/2009/09/20/developing-a-facebook-application-for-absolute-beginners/
Also, the official documentation is not that bad, but pretty big:
https://developers.facebook.com/docs/
You will find a developer link at the bottom of the page, after opening it you will find apps link at top right of page, click it to see your apps detail.
or
simple way is just login to facebook and copy below link to your browser.
https://developers.facebook.com/apps