Get pending user information to a Facebook group - facebook-graph-api

I've been stumbling around the Facebook Graph API Reference for about a week trying to get acquainted and find what I'm looking for, but I'm feeling pretty stumped so far.
I'm trying to get a list of pending members to a closed group that I'm and admin for.
For each pending member, I'd like to get either:
Their street address (used to be field 'location', apparently deprecated in v2.0?)
Answer to a Group Question (what is their street address).
I've gotten as far as getting a list of current members to the group.
I'm trying to setup an Admin app specifically for my group to help speed up the validation of incoming user. The group is a housing development community group, primarily used to communicate events or issues (mostly issues...). Previous versions of the group attracted people from neighboring housing communities though, which defeats the purpose of a specific Facebook group.

Related

Retrieve/use G suite Default Routing rules programatically

I am only looking for read-only access.
I'd like to develop either a small web app, or maybe a script embedded in Google Sheets, that allows my users can look up which Google Admin default routing rules they are involved in.
To do that, I'll need an API to go through the rules and tabulate the information in the way I need it.
Can I do that with Admin SDK, which is soon-to-be deprecated? Is there a replacement product that can do what I want?
More details:
I currently use default routing for a few purposes. I have about 15 rules, and each one changes the route of a simple Match Rule by adding extra recipients. Some of these are to catch emails sent to ex-employees.
Others are to handle certain general email addresses like sales#example.com. Rather than using a sales group, we have a sales user account. And rather than putting forwarding rules in that users' settings, we use Default routing.
I had a similar problem where I needed the routing rules.... a bit different case since I just wanted a one time access to see what was going on - not necessarily something for users. I could not find anywhere else that helped me even retrieve the rules (Other than open each one up individually). I ended up finding that I could just scrape the HTML of the routing rules page to a CSV and filter for lines with an '#' character. The rules have a bunch of t/f that presumably can be matched back to their function - I didn't need all that and didn't spend the time to figure it out. This probably doesn't help the for the original post case, but perhaps my finding can help the next person looking for a way to do this.

Facebook Graph API Group Feed shows no posts past v2.3

When accessing https://developers.facebook.com/tools/explorer, I can use the URL graph.facebook.com/v2.3/{groupID}/feed and receive a list of posts from that group. Note that I am not the group administrator. See here:
However, as soon as I change that to 2.4 or above, I can no longer receive any results:
Even stranger, though, is the response time. V2.3 responded with actual content in 983MS, but V2.4 responded with nothing in 10,174MS. The long response time for nothing is indicative of every version, up to 2.9 (most recent version).
This is a real issue, because v2.3 is being deprecated July 10th, 2017. Any idea what's going on here? It doesn't appear that they've deprecated /{groupID}/feed, so why did it stop working for me?
Normal users can not read the feed of closed groups any more.
And no, you should not try and circumvent that by building a scraper, because scraping is not allowed. Users have the ability to view the group posts via the FB UI, and that should be all that is needed.
Well, that's very annoying. And a little weird, because I can see the posts just fine via the UI
Yes, you can. But with an app, an additional party comes into play: The developer of that app, who could be the shadiest person sitting in wherever, doing whatever with the user data their app can read. And now imagine you were member of a closed group, where people might discuss sensitive issues such as health, sexual abuse, etc. Would you really want every other group member to be able to give an app you know nothing about access to what you posted in such a group …? No, of course not. And therefor that decision has been placed in the hands of the group admin(s) now.
unfortunately now v2.12 doesn't give any group feed unless you have the access token for the admin of the group (public-closed-secret).

Cannot Find Place ID

I see that others have asked this question, but I haven't seen any 'how-to' answers for businesses that can't find their Place ID.
When I type my business name and address into the place id finder it does not return any results.
My business on google maps: https://www.google.com/maps/place/Fancy+Fox/#41.6057788,-93.8500368,11z/data=!4m8!1m2!2m1!1sfancy+fox+des+moines!3m4!1s0x87ec24217b23e6fb:0x3cbf2ea78697e2ff!8m2!3d41.5973725!4d-93.701036?hl=en
Thank you for your help!
Try GMB Toolbox to decode your location to a Place ID http://gmb.reviewsmaker.com 😊
There are a couple of things you should be aware of:
Once you added your business in Google My Business you have to wait some time (probably up to 7 days) while the business will be available in the place autocomplete service.
If you created a Service Area Business, it probably won't appear in place autocomplete due to the following issue: https://issuetracker.google.com/issues/35831063
As I can see, you have indeed created a Service Area Business, it has a polygon on maps.google.com. I would suggest reaching out directly to Google support in the public issue tracker and ask them to help get a place ID.
UPDATE
As of March 2018 you can now search all businesses place IDs using the Google My Business place ID finder:
https://developers.google.com/my-business/content/faq#how-to-find-placeid

Creating apps for facebook groups possible or not?

I'm a member of a facebook group that has contests with artists on a weekly basis. There are over 5000 members to this group, fortunately not all of them participate because at the end of each week there is a voting for the favorite/best artwork of that week. And the admins have to manually go through image by image and count votes. Voting is limited to those who participate in the contest, so the artist places their vote as their image description... or part of it anyway.
I wanted to create an app that would retrieve the photo info from the album to build a list of the submitted images and the artists to make counting votes much easier.
I have, in fact, created such an application but it seems it only works on personal profiles and pages... not groups due to the need to be on a "white list". It strikes me as strange when a group is "OPEN" and an app isn't even allowed to read data there, but OK.
My question is if it is possible to get an app on that white list or at least to build an app specifically for a group for this purpose? I have been unsuccessful in my attempts to find any information on this subject. So, I am asking you all here at stack overflow since you all seem to be in bed with facebook in someway. I am just hoping to get a reply from someone that knows something rather than guessing or assuming.
The last contest had 325 participants and it was entirely too many for a poll.
I do not know if this topic has already been addressed... I used the search but stack overflow uses Google for a site search and because these topics are paginated Google has indexed results to be on a certain page but when you go there the topic is nowhere to be found... not very helpful...
Anyway, thanks for your time and I would be most appreciative of getting a reply rather than the post just getting buried to the point nobody will see it...
I was wondering the same thing for a similar reason.
It appears not:
user_groups
Provides access to the list of groups the user is a member of as the groups connection.
This permission is reserved for apps that replicate the Facebook
client on platforms that don’t have a native client.
https://developers.facebook.com/docs/facebook-login/permissions/v2.0#reference-extended-profile
If anybody discovers otherwise I'd love to know.
I don't know the exact answer of whether apps can be built only for groups without short-listing, but here is an alternative solutions.
If the purpose of this exercise is to limit some functionality (or entries) only to those users who are a member of a group, then why not get the "user_groups" permissions from the user, access his groups through the Graph API and flag users as either being a member of the group or not and extend the functionality accordingly. Perhaps you could even limit registrations to only those who are currently members of the group.

Data mining? And how can I perform it on my website?

I’m preparing my graduation project from computer science, I made this website and it's running perfectly but my supervisor requested me to apply data mining on the website.
But I don’t understand what I should do.
The website is a social network, each user will have a profile and blog and access to some e-books that required you to be registered so you can download. The website also contains a music server that contains songs that a registered user can choose a song to download or to add it as a favorite in his profile page, the website contains ads (I used OpenX script), so this is most of the website services where I can perform data mining, the website is www.sy-stu.com.
I need ideas and what is the best way to present it in the interview?
You can ask your professor what was his intention of using data mining. Data mining algorithms can do various tasks, you need first define what you want to accomplish and then find some algorithms for this and technical possibilities.
Some ideas that came to my mind about usage of data mining in your project:
you can use data mining to find what songs (ebooks,etc.) can be favorited by a user based on other people favorites songs (find similarities, probably association rules would be a good algorithm for this).
you can use some clustering algorithms to group users based on some parameters and suggest them that they could become a connections with other people from the same group (if you have something like this)
Good luck!:)
Firstly, ask for clarification from your supervisor. Don't say 'What do you mean?', but ask 'Are you expecting something like this?' because it shows that you've at least thought about it.
If you can't think of anything, or your supervisor is vague, perform some simple data retrieval and analysis, e.g.
most active members
the most / least popular songs and books.
number of ads clicked etc
most popular website features
Just elementary analysis should suffice - you aren't doing a statistics degree. Work out the most songs downloaded in a day or per user, the average songs per user, how many users visit each day and how many sign up and never visit.
The purpose is to demostrate that your website is logging all activity, so that when you are asked 'how many books did the 20 most active users download in June' you will be able to work out the answer.
The alternative is a website that just runs and you don't have any knowledge of how your users are behaving and what they are doing, which means you aren't able to focus on things that they find important.
I dont know exactly what kind of data you are trying to mine, but have you check out google analytics? It is very easy to setup, once you register all you need is to include the javascript provided to your web pages. Google analytics will give you plenty of statistic about access to your site information regarding your site and visits. Is that what you need? The data produced is very easy to read as well and will be suitable for you to present I reckon.