首页 \ 问答 \ 如何通过API检索Facebook中的所有电子邮件地址(How to retrieve all email addresses in Facebook through API)

如何通过API检索Facebook中的所有电子邮件地址(How to retrieve all email addresses in Facebook through API)

Facebook用户可以添加多个电子邮件地址。 我知道,通过扩展的“电子邮件”权限,您可以通过图表API检索主电子邮件地址。 你如何检索其余的电子邮件地址? 这对我的应用程序很重要,这样我就可以在我的数据库中找到他们现有的帐户,而不必不必要地创建一个新帐户。


Facebook users can add multiple email addresses. I know, with the extended "email" permission, you can retrieve the primary email address through the graph API. How do you retrieve the rest of the email addresses? This is important for my app so that I can find their existing account in my database rather than unnecessarily creating a new account.


原文:https://stackoverflow.com/questions/7617085
更新时间:2022-02-20 18:02

最满意答案

正如你所说的,“程序计数器”(也称为“指令指针”)是硬件的一部分; 更具体地说,它是一个处理器寄存器。 该寄存器的全部用途是指向处理器正在执行的内存中的当前指令。 一旦该指令被执行,PC就被更改为指向要执行的下一条指令。

当今大多数现代操作系统都是多任务处理。 这基本上意味着它们可以同时运行多个进程。 但是,如果你只有一个处理器,那么你不可能同时执行多个进程,对吧? 为了创造出这样的错觉:多个进程在同一时间只在一个处理器上执行,多任务操作系统可以非常快速地在可运行进程之间切换:它们推进一个进程,暂停进程,然后推进一些其他进程,等等,所有这一切在几分之一秒内。

为了实现这个机制,操作系统必须有适当的结构来保持所有正在运行的进程的当前状态。 操作系统应该保留在这些结构中的一个最重要的值是进程的当前PC值,该值指示其程序代码中当前正在执行的位置。


As you said, the "program counter" (also called "instruction pointer") is part of the hardware; more specifically, it's a processor register. The whole purpose of this register is to point to the current instruction in memory that is being executed by the processor. Once that instruction is executed, the PC is altered to point to the next instruction to be executed.

Most modern operating systems today are multitasking. This essentially means that they can run multiple processes at the same time. However, if you have just one processor, there's no way you can execute more than a process simultaneously, right? To create this illusion that more than one process is executing at the same time on only one processor, multitasking operating systems switch between runnable processes very fast: They advance one process, they pause it, and then they advance some other process, and so on, all this in fractions of a second.

To implement this mechanism, the operating system must have appropriate structures to keep the current status of all running processes. One of the most important values the operating system should keep in those structures is the current PC value for the process, which indicates where, in its program's code, it is currently executing.

相关问答

更多
  • TL; DR 你不应该使用! 运算符明确地,它被认为是反模式。 你可能会遇到一些原子中的拼写错误或一些不良数据的问题,就像你这次做的那样。 为了确保与您的正确通信,通常会创建一些包装函数来处理正确的数据格式和与进程的通信。 功能就像increment/1 value/1和stop/1 。 事实上,如果你使用那些,你会得到预期的结果; 在你的情况下,假设PID是你的计数器,只需调用counter:value(PID). 让我解释 你似乎没有什么事情有点不对劲。 首先! 将消息发送到另一个进程。 这就是它的全部 ...
  • 根据您的评论,您可以使用clearInterval删除点4.1之后的setInterval function (chart) { var myInterval= setInterval(function () { i+=0.1; Highcharts.each(chart.series, function (serie) { var point = serie.points[0]; if (i > 4.1) { ...
  • 实际上,此计数器的实例将具有零值,直到与该实例关联的进程中发生第一次垃圾收集。 与“ Process ID ”计数器关联的计数器帮助文本中记录了这一事实: 此计数器显示正在监视的CLR流程实例的进程ID。 在第一次垃圾收集之后,显示的值将为0。 隐藏的原因在于,尽管您可以使用System.Diagnostics命名空间中的内容轻松阅读此文本,但没有其他文档可以解决此问题。 我在MSDN,TechNet和网络上搜索过,一无所获。 即使在发现答案之后,我打开了PerfMon并尝试在UI中找到这个字符串 - 据我 ...
  • 看到答案没有到来,我做了一些更多的试验和错误测试,并观察到以下行为: 常规流程 看来,对于具有给定名称的第一个常规进程,进程名称与实例名称匹配。 对于具有相同名称的后续进程,通过附加#1 , #2 ,...来修改实例名称。 令人震惊的是,似乎有可能更改与进程关联的实例名称 。 这似乎发生在数字序列中较早的进程结束时。 确定实例名称和获取相关计数器之间存在竞争条件! 服务流程 在服务控制管理器下运行的Windows NT服务的行为方式与常规流程的行为方式相同。 如果您在数字序列中较早结束服务进程,则实例名称似 ...
  • 正如你所说的,“程序计数器”(也称为“指令指针”)是硬件的一部分; 更具体地说,它是一个处理器寄存器。 该寄存器的全部用途是指向处理器正在执行的内存中的当前指令。 一旦该指令被执行,PC就被更改为指向要执行的下一条指令。 当今大多数现代操作系统都是多任务处理。 这基本上意味着它们可以同时运行多个进程。 但是,如果你只有一个处理器,那么你不可能同时执行多个进程,对吧? 为了创造出这样的错觉:多个进程在同一时间只在一个处理器上执行,多任务操作系统可以非常快速地在可运行进程之间切换:它们推进一个进程,暂停进程,然 ...
  • 你可以得到一个进程名称的计数器,所以首先使用它的Id获取进程名称,然后将进程名称嵌入到计数器中。 例如: $id = # your process id $proc = (Get-Process -Id $id).Name Get-Counter -Counter "\Process($proc)\% Processor Time" You can get counters for a process name so first get the process name by using its Id a ...
  • 您的实例是具有与您当前进程ID匹配的ID Process计数器值的实例。 不幸的是,没有其他方法可以获取所有实例并通过它们进行枚举,直到您找到属于您的实例,但这样做相当简单。 Your instance is the one that has the ID Process counter value that matches your current process ID. Unfortunately there is no other way than to get all instances and e ...
  • 我想我的上一个答案中有一个拼写错误,你试图通过指定avgBalance = 0来解决它,原因不明。 你想要从总和中除以数! 不是平均水平。 float avgBalance = count <= 1 ? sumBalance : (sumBalance / count); 然后,您的计数器打印values的长度,而不是特定键的客户计数。 在MapReduce中实现的SQL查询 where c_nationkey == '[NATION]' 顺便说一下,这不是你的MapReduce的目标。 nation ...
  • 根据您发布的代码和反汇编,我猜测_sidata中的地址无效。 _sidata被加载到r3 ,所以当 ldr r3, [r3, r1] 如果执行,则无效访问会导致另一个处理器复位,然后执行该处理器,直到再次发出该指令为止。 或类似的东西。 检查_sidata 。 一些额外的说明: 我看到地址xxxx处的指令使用了r0但是我没有看到在reset_handler()中r0初始化reset_handler() 。 调用reset_handler()的代码可能已经正确地设置了r0 ,但是要确定我们必须看到 ...
  • 这取决于你想要怎么做。 例如,如果通过JVM工具接口,则会有一个名为GetFrameLocation的公开函数。 这应该等同于程序计数器。 jvmtiEnv *penv; ... jmethodID cur_method; jlocation cur_loc; (*penv)->GetFrameLocation(0, 0, &cur_method, &cur_loc); It depends on how you want to go about it. For example, if via the J ...

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)